3 Replies Latest reply: Dec 2, 2009 4:48 PM by Daniel Bevenius RSS

ERROR [JmsComposer] Unsupported JMS message type: org.jboss.

Younes Yahyaoui Novice

hi,

i want to send a TextMessage over Jboss ESB bteween two services but i get the follwing error:

13:02:34,773 ERROR [JmsComposer] Unsupported JMS message type: org.jboss.jms.message.TextMessageProxy for incoming ESB-aware message.


the code of send method() is the following:
public void sendMessage(String msg) throws JMSException {

 QueueSender send = session.createSender(que);
 TextMessage tm = session.createTextMessage(msg);
 send.send(tm);
 send.close();

 }


does Jboss ESB Messaging not support TextMessage?

Regards

Younes