[jboss-user] [JBoss Messaging] - Re: Sending 512 kb of message Failing....

ataylor do-not-reply at jboss.com
Tue May 13 04:50:58 EDT 2008


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#4150273

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4150273



More information about the jboss-user mailing list