activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From artnaseef <>
Subject Re: Reject an incoming message from Camel
Date Mon, 25 Jan 2016 23:07:15 GMT
There is no way to notify a message producer if consumption of the message
fails through JMS semantics.  That defeats the major aspect of JMS -
asynchronous processing and loose coupling of producers and consumers.

In order to inform the producer of success or failure, one of the following
would do the job:

* use a request/reply pattern (every message processed results in a message
result sent back to the original client)
* use a separate notification method (e.g. consumer posts errors to a store,
such as hazelcast)
* convert over to a synchronous messaging solution

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message