What is your aggregation strategy source code. It depends how you
handle it there. S

On Tue, Mar 22, 2016 at 2:38 PM, nuskhu <arnaud.cour...@cnamts.fr> wrote:
> It's a valid endpoint, it's just throwing an exception to check the behaviour
> of the recipiantList :
>
> @Component
> public class ThrowingConsumerB {
>
>     private static final Logger LOGGER =
> LoggerFactory.getLogger(ThrowingConsumerB.class);
>
>     public String sayHello(@Body String message) {
>         LOGGER.info("B");
>         message += " B";
>         LOGGER.debug(message);
>
>         try {
>             Thread.sleep(1000L);
>         } catch (InterruptedException e) {
>             e.printStackTrace();
>         }
>
>         throw new RuntimeException("BOUM !");
>
>     }
> }
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/problem-with-exception-in-the-recipientList-tp5779499p5779508.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2

Reply via email to