You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by fucema <fu...@gmail.com> on 2006/06/23 00:20:57 UTC
Re: STOMP's selector support
James,
I am using a ruby stomp client to produce a message with a stomp header
named "correlation-id" (all lower case as specified in the AMQ Stomp
documentation).
However, my stomp consumer receives the message MINUS the correlation-id
header.
But if I alter the spelling and produce a message with the header
"Correlation-id" (capitalized) then the consumer receives the message with
this header present.
Can you provide any insight into this behaviour? Thanks!
--
View this message in context: http://www.nabble.com/STOMP%27s-selector-support-t1345045.html#a5002978
Sent from the ActiveMQ - User forum at Nabble.com.
Re: STOMP's selector support
Posted by James Strachan <ja...@gmail.com>.
There are a few 'magic' headers in Stomp described here...
http://incubator.apache.org/activemq/stomp.html
which are mapped to standard JMS headers. One of those is 'correlation-id'
"correlation-id" in stomp maps to the standard JMS header
JMSCorrelationID; so in a JMS world you'd get set that via the
standard JMS properties which are then mapped to correlation-id.
Though the header should be preserved if you are using a 100% stomp
environment; its just it might change from correlation-id <->
JMSCorrelationID if you are using JMS on one end.
Which version of ActiveMQ are you using?
On 6/23/06, fucema <fu...@gmail.com> wrote:
>
> James,
>
> I am using a ruby stomp client to produce a message with a stomp header
> named "correlation-id" (all lower case as specified in the AMQ Stomp
> documentation).
>
> However, my stomp consumer receives the message MINUS the correlation-id
> header.
>
> But if I alter the spelling and produce a message with the header
> "Correlation-id" (capitalized) then the consumer receives the message with
> this header present.
>
> Can you provide any insight into this behaviour? Thanks!
> --
> View this message in context: http://www.nabble.com/STOMP%27s-selector-support-t1345045.html#a5002978
> Sent from the ActiveMQ - User forum at Nabble.com.
>
>
--
James
-------
http://radio.weblogs.com/0112098/