activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From slew77 <stephen.lewi...@yahoo.co.uk>
Subject Reject an incoming message from Camel
Date Tue, 19 Jan 2016 15:44:21 GMT
Hi,

I've configured a camel route intercepting an inbound message.

If something goes wrong when processing the camel route, I'd like to be able
to reject the incoming message in a way that the client knows that the
message hasn't been accepted.

If my route doesn't forward the message back to the broker, the message is
dropped, but this is silent - the client thinks the message was accepted.

If I raise an exception from the route, I see this in the log, but with the
same outcome, the client still thinks the message has been accepted.

Is there a way to reject an inbound message?

Thanks,
Steve.



--
View this message in context: http://activemq.2283324.n4.nabble.com/Reject-an-incoming-message-from-Camel-tp4706168.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message