As far as i can see, that code snippet shouldn't compile, you're passing a
StringBuilder as a parameter when creating the text message, i.e.
| mesg = session.createTextMessage(message);
|
however, if i fix this:
| mesg = session.createTextMessage(message.toString());
|
then i can run your code snippet, i would make sure you have the latest version of JBM
and double check you're code is correct!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4150273#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...