[rabbitmq-discuss] XML in RabbitMQ with Stomp protocol
Steve Powell
steve at rabbitmq.com
Mon Jun 17 15:59:46 BST 2013
Maria,
If you rely upon a null byte to terminate the STOMP payload then it may be that there are nulls in your XML. If you explicitly provide a length, then make sure that it is the byte length and not the character length.
If you get either of these wrong you may lose the connection due to a protocol violation.
Steve Powell [Cell: +44-7815-838-558]
Links: Pivotal, SpringSource, VMware, Virgo, RabbitMQ.
-----------------------------------------------------------------------
Good design:
is innovative, useful, aesthetic;
is understandable, unobtrusive, honest;
is long-lasting, thorough, environmentally friendly;
and is as little design as possible.
(c) Dieter Rams, amended 2003; 2009; 2012
On 16 Jun 2013, at 22:31, Matthias Radestock <matthias at rabbitmq.com> wrote:
> On 12/06/13 16:21, Maria Garcia wrote:
>> I am trying to send and receive a XML with a RabbitMQ + Stomp and a
>> browser client, I also use SockJS . First, I send and receive a
>> simple text message without problems, but when I send a XML, I lost
>> my connection and I don't know why. Any idea?
>
> Stomp shouldn't care about the message payload.
>
> Check the server logs for any errors.
>
> Matthias.
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130617/3d0f2df7/attachment.htm>
More information about the rabbitmq-discuss
mailing list