This might be a really stupid question but I had to get it cleared. I create a ActiveMQTextMessage with a simple string.
ActiveMQTextMessage message = new ActiveMQTextMessage(); message.setJMSType("text"); message.setProperty("msgOpCode", "some_Op_code"); message.setText("Some string"); I am able to apply selectors on the property msgOpCode as well as the text. The JMS specification says that "Only messages whose header and property values match the selector are delivered" So, what exactly is a payload in a ActiveMQMessage. I want the contents that I set in the text to be the payload/body of the message. How do I set this ? -- View this message in context: http://old.nabble.com/Selector-and-payload-tp29271967p29271967.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.