This content has been marked as final.
Show 3 replies
-
1. Re: How to receive stomp messages (without std MessageConsumer)
jmesnil Jun 4, 2012 11:53 AM (in response to blacar)to implement a STOMP consumer, you just have to listen to Stomp MESSAGE frames on the socket after you client is authenticated.
StompConnection, StompFrame, etc. are HornetQ internal classes and are not meant to be used on the client side.
-
2. Re: How to receive stomp messages (without std MessageConsumer)
blacar Jun 4, 2012 12:14 PM (in response to jmesnil)Hi Jeff, thanks for the answer
So i only need to get an input stream from the socket and perform read operations in the same port i used to send the message?
-
3. Re: How to receive stomp messages (without std MessageConsumer)
blacar Jun 4, 2012 12:37 PM (in response to jmesnil)Ok Jeff,
You are right, of course ... i was able to capture the CONNECTED response, and i expect be able to capture all other responses.
However i wonder if there is any restriction about the size of the message ... related connection timeout, stomp specific restrictions, or something like that,
Thanks again.