On 5/22/19 11:25 AM, leejacks...@cox.net wrote:
Hi!  We have a consumer written using the cms_browserGetNextMessages function
written by Apache
(https://github.com/fusesource/fusemq-c/blob/master/fusemqc-client/src/main/cpp/CMS_QueueBrowser.cpp).
We are experiencing missing messages.  We post messages to a JMS Gateway.
The Gateway sends to a broker and we consume the messages off this broker.
We have been asked by the JMS Gateway team to update our consumer code
(written in C programming language) to include the header field as well as
the message we are pulling.  We currently just log the message.  Can someone
provide code or method to obtain the header for a specific message at the
consumer level?  We haven't been able to find where the header is accessible
to the consumer.



--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

When you receive a message at the consumer you read the message properties using the API such as this one:

https://github.com/fusesource/fusemq-c/blob/master/fusemqc-client/src/main/cpp/CMS_Message.h#L228


--
Tim Bish

Reply via email to