On 04.04.2012, at 21:02, JRR <[email protected]> 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 JMS API.
