just use the core API instead of JMS, there are some examples in the docs and also in the distribution. or look at the javadocs
Thanks. I Tried that , but could not read the message
the jms api is just a facade on the core api, so it will work, without example code i cant really help you
Thanks Andy , I really apreciate your help .
I tried to show part of the code at my original message .
but basically if the producer wirtes the message
javax.jms.TextMessagetxtMessage = session.createTextMessage("helloWorld")
and the consumer is getting the message as Client message
how can he get the message body
this does not work : clientMessage.getBodyBuffer.readString
Each message type will write its body buffer in a different way, I think with textMessage its a write/readNullableSimpleString, you can look at the source to see how each message does it but this is internal API stuff and may change. Alternatively just use the core API like i said (for the send as well)