Message Mutability

Message senders can change the message header, body, and properties even after they have sent the message and can even resend the same message. However, the provider will treat this as a new message.

Message receivers can only change the message header of a received message because the body and message properties are always in read-only mode. An attempt to mutate the message body or properties of a read-only message will throw MessageNotWritableException.



Professional JMS
Professional JMS
ISBN: 1861004931
EAN: 2147483647
Year: 2000
Pages: 154

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net