Having a look at the SimpleJMSListener it assumes all messages
are javax.jms.BytesMessage.
> /**
> * This method is called asynchronously whenever a message arrives.
> * @param message
> */
> public void onMessage(javax.jms.Message message)
> {
> try
> {
> // pass off the message to a worker as a BytesMessage
> SimpleJMSWorker worker = new SimpleJMSWorker(this,
(BytesMessage)message);
Various other parts of the code also make this assumption (e.g.
JMSConnector).
Is there any particular reason why this is so, and why TextMessage
is not supported ?
Are there any plans to support other message types in the future ??
Can anyone shed any light on this
TIA James