Why Setting Values Does Not Work Using javax.jms.Message.setJMSPriority , DeliveryMode , Destination , TimeStamp or Expiration Setters ?
The respective setter methods in javax.jms.Message are to be used only by the JMS Provider. These message values are overwritten by the system on each send/publish. You should use the respective setters in the MessageProducer, QueueSender, or TopicPublisher classes (i.e., setJMSPriority, setDeliveryMode, setTimeToLive).
Related Questions
- Why Setting Values Does Not Work Using javax.jms.Message.setJMSPriority , DeliveryMode , Destination , TimeStamp or Expiration Setters ?
- Why doesn setting values work using javax.jms.Message.setJMSPriority, DeliveryMode, Destination, TimeStamp or Expiration?
- What are Yocha Dehe Wintun Nation’s goals and initiatives for the Destination Resort Project?