I wonder if you need to use asyncSend=false (to force sync) on the client, and then with the camel broker component you can route and possible reject the incoming message. Which maybe can affect that the client get a NACK ?
http://activemq.apache.org/broker-camel-component.html http://activemq.apache.org/async-sends.html On Wed, Jan 20, 2016 at 12:00 PM, slew77 <stephen.lewi...@yahoo.co.uk> wrote: > Thanks. I'd prefer the clients to not have to do anything special. > > Is there any way to intercept an inbound message and affect the > acknowledgement back to the producer so they know the send failed > immediately? > > This doesn't necessarily have to be camel if there is another way to achieve > the same. > > Thanks, > Steve. > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/Reject-an-incoming-message-from-Camel-broker-component-tp4706168p4706198.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. -- Claus Ibsen ----------------- http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2