[rabbitmq-discuss] Patch for letting the STOMP consumers receive the content-type header
Rui Lopes
rgl at ruilopes.com
Mon Aug 11 18:11:33 BST 2008
Hello Tony,
Tony Garnock-Jones wrote:
[...]
>> We should also consider the use of ActiveMQ "type" header instead of
>> using "content-type", or maybe translate between the two? take a
>> look at http://activemq.apache.org/stomp.html (do a search for JMSType).
>
> I think they're different - does JMSType always line up exactly with
> MIME content-type? Certainly in AMQP, there's an equivalent of the
> JMSType field which is otherwise undocumented, and is distinct from
> the content-type header. (The JMS mappings in 0-8 and 0-9 are a bit of
> a mess.)
I never used JMS, so I'm afraid I don't known the answer; but having
seen the "type" header in AMQP specs (even though, like you said, they
are not really defined), I'm OK with just having an "content-type"
header as a MIME type.
Best regards,
Rui Lopes
More information about the rabbitmq-discuss
mailing list