BrokerService.acknowledge() behavior

2014-09-30 Thread Matt Pavlovich
I have a class that is loaded as a plugin that implements BrokerService.acknowledge(), but I’m getting “Standard” acknowledgements for almost all consumption scenarios, even rollback. If I rollback a message, the MessageAck type in the MessageAck() is still “Standard”, and the message isn’t bei

Re: Is it possible to add a property to a message prior to rollback?

2014-09-30 Thread Matt Pavlovich
Mark- Another approach is to consume the message, add your headers and then produce it back to the DLQ within a transaction on the same session. That will maintain reliability, and allow you to enrich the message with some root cause information. -Matt On Sep 11, 2014, at 7:08 AM, Marc Boorsh

ActiveMQ admin command not working

2014-09-30 Thread khandelwalanuj
Hi, When I run "/apache/activemq/apache-activemq-5.10.0/bin/activemq-admin query --objname Type=*Connect*,BrokerName=mqbrokerdev -xQNetworkConnector=* --jmxurl service:jmx:rmi:///jndi/rmi://*.*.*.*:9006/jmxrmi" I get below error: "/apache/activemq/apache-activemq-5.10.0/bin/activemq-admin: No m