Hey Carl, you can define a custom processor to throw an exception whenever you want:
weaveById("ws-call").replace().processor(new Processor {
@Override
void process(Exchange e) {
// Some custom logic in here to throw an exception
}
});
--
View this message in context:
http://camel.465427.n5.nabble.com/How-to-test-redeliver-messages-tp5799456p5799480.html
Sent from the Camel - Users mailing list archive at Nabble.com.
