activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ivan Pechorin <>
Subject Re: Set JMSType using activeMQCPP
Date Wed, 04 Apr 2012 19:14:14 GMT

On 04.04.2012, at 21:02, JRR <> wrote:

> Hello,
> I think I know how to do this but I want to confirm with the crowd.
> We're using AMQ as the MOM between my group, which use ActiveMQ-CPP, and
> another group which I believe is using camel. They've requested that the
> header's "type" field gets set and they indicate that they use
> Messge.getJMSType() to get the value. They recommended that I use
> Message.setJMSType().
> I searched the ActiveMQ-CPP API and I don't see a Message::setJMSType() but
> I *did* find a Message::setCMSType(). Is this the same? I'm going to test it
> out.

The same. setCMSType() in CMS API (ActiveMQ-C++) sets the same field as setJMSType() in Java
View raw message