activemq-users mailing list archives

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

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?


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

View raw message