camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: How to get failed recipient list name in camel
Date Wed, 19 Jun 2013 07:18:15 GMT
Hi

There is a property on the Exchnge with key
http://camel.apache.org/maven/current/camel-core/apidocs/org/apache/camel/Exchange.html#FAILURE_ENDPOINT

That refers the to last failed endpoint.



On Wed, Jun 19, 2013 at 8:46 AM, loganathan <logu.it86@gmail.com> wrote:
> I have route like this It will create dynamic(Multiple) recipientList at the
> time of route startup.
>
> from("route")
>                                 .routeId("name")
>                                 .transacted()
>                                 .to("route2");
>
> from("route2")
>                         .transacted()
>                         .routeId("name1")
>                         .split((body()))
>                         .process(new exampleprocessor())
>                         .process(new exampleRecipientListProcessor())
>                         .recipientList(header(ConstantS.EXAMPLE_RECIPIENTS_KEY))
>
>
> But my problem is For example consider i have five recipient list,Let's
> assume the above route successfully send message upto third recipient
> list,while sending to fourth recipient list if its got failed means how i
> can get the failed recipientlist name in camel?
> Is anyone faced this issue before?Anyone help is highly appreciated
>
>
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/How-to-get-failed-recipient-list-name-in-camel-tp5734332.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
www.camelone.org: The open source integration conference.

Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cibsen@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Mime
View raw message