On 6/5/19 12:18 PM, [email protected] wrote:
Hi!  We have a consumer written using the cms_browserGetNextMessages function
written by Apache

I don't see this Apache person you mention listed in the committers for the that project....


(https://github.com/fusesource/fusemq-c/blob/master/fusemqc-client/src/main/cpp/CMS_QueueBrowser.cpp)
that is written in C programming language.
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.
Is it possible to have the consumer code confirm or acknowledge each message
individually?  Right now the behavior we are seeing seems to indicate the
consumer is auto acknowledging the messages in the broker at one time.

It is unclear what you are asking for here, you reference a QueueBrowser implementation but are asking about consumer code so I'm not sure what you are looking to do.  A QueueBrowser doesn't support any acknowledge types as it is a non-destructive view of messages on a Queue.  The browser also makes no guarantees about it showing you every message on a Queue so if you are relying on that property then you will likely run into trouble.

Looking at the source code for the C wrapper client a message consumer could have acknowledgment types other than auto specified, the values are here

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



Thanks!  Kim



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


--
Tim Bish

Reply via email to