[rabbitmq-discuss] Patch for letting the STOMP consumers receive the content-type header
rgl at ruilopes.com
Mon Aug 11 18:11:33 BST 2008
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.
More information about the rabbitmq-discuss