activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dejan Bosanac <>
Subject Re: Stomp and content-length
Date Thu, 09 Apr 2009 11:43:06 GMT
Hi Yury,

Stomp protocol (in its 1.0 version) does not define anything regarding
message types, so this support for binary messages using content-type was
implemented in the early implementations in ActiveMQ. We implemented support
for map and object messages later using message transformations. So, since
there is no mention of content-length and message types in the spec, you
can't say it's a "bug" either in Ruby client nor ActiveMQ, but only that the
client is not compatible with this ActiveMQ specific feature.

All this will be much better defined in Stomp 1.1, which will be hopefully
implemented for ActiveMQ 6. But your client will also need to be Stomp 1.1
compatible. And for now it's not possible to turn this off, since it would
break backward compatibility with existing clients that use this property.

Maybe you can just "patch" your client and remove content-length header, if
you don't plan to use binary messages?

Dejan Bosanac

Open Source Integration -
ActiveMQ in Action -
Blog -

On Thu, Apr 9, 2009 at 9:54 AM, Yury Batrakov <> wrote:

> Sorry, I should have googled better to find the email from Dejan:
> Well, as far as I understand, this is considered as not an ActiveMQ bug,
> but
> stomp client's one? Please clarify :)
> --
> View this message in context:
> Sent from the ActiveMQ - User mailing list archive at

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message