activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From artnaseef <...@artnaseef.com>
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: http://activemq.2283324.n4.nabble.com/Reject-an-incoming-message-from-Camel-broker-component-tp4706168p4706421.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message