I am looking to switch on user defined properties. The publisher of the JMS messages set several user defined properties using Something like this: (javax.jms.TextMessage) message.setStringProperty(MESSAGE_TYPE, "type1")
When I receive the message I would like to inspect the value of the MESSAGE_TYPE user defined property and switch on the value. Keith On 4/14/09 11:56 AM, "Asankha C. Perera" <[email protected]> wrote: > Hi Keith >> Can someone point me to an example of how to switch on a JMS property of an >> incoming message? >> .... >> In the inSequence, I would like to inspect a JMS property like MessageType >> and switch based on the value so I can call different sequences for >> different "message types." >> > Can you be specific.. is it a JMS message header? > > cheers > asankha This communication, along with any attachments, is covered by federal and state law governing electronic communications and may contain company proprietary and legally privileged information. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, use or copying of this message is strictly prohibited. If you have received this in error, please reply immediately to the sender and delete this message. Thank you.
