Report question

Question: When to choose JMS API over UDP socket API or vice versa?