This content has been marked as final.
Show 4 replies
-
1. Re: Using hornetQ with stomp - empty message received on client
gaohoward Dec 7, 2011 8:34 AM (in response to shergill)Which version of HornetQ are you using?
-
2. Re: Using hornetQ with stomp - empty message received on client
shergill Dec 7, 2011 7:59 PM (in response to gaohoward)2.2.5-final
-
3. Re: Using hornetQ with stomp - empty message received on client
gaohoward Dec 8, 2011 10:16 PM (in response to shergill)I think it's bug. Investigating it now.
Thanks!
-
4. Re: Using hornetQ with stomp - empty message received on client
gaohoward Dec 9, 2011 12:01 AM (in response to gaohoward)The fact is that HornetQ uses Simple String to get the text from the message during the conversion from a core message to a stomp frame.
You need to use
message.getBodyBuffer().writeNullableSimpleString(new SimpleString(msg));
to get the content delivered.
Howard