Q&A

Q1: What type of JMS message domain should be used to send a message to a single receiver?
A1: A point-to-point domain is the appropriate choice in this scenario.
Q2:What type of JMS message domain should be used to send a message to many receivers at the same time?
A2: To send to many receivers, the publish/subscribe message domain is the best choice.
Q3:What is the difference between JMSHeader fields and JMSProperty fields?
A3: JMS header fields are defined in the JMS API and are mainly set by the JMS provider. JMS property fields are used by clients to add additional header information to a message.
Q4:Does JMS guarantee to deliver a message in the point-to-point domain?
A4: Messages in the point-to-point domain are PERSISTENT by default ...

Get Sams Teach Yourself J2EE™ in 21 Days now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.