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 do redelivery message
Date Mon, 03 Mar 2014 09:31:09 GMT
Hi

Just use a bean that calls the other bean. And if the return value is
null, then call the bean again - eg in a while loop etc.

On Mon, Mar 3, 2014 at 7:27 AM, simafengyun <yifeng.guo@citi.com> wrote:
> Hi,
>
> If I can checked the null value returned in the below step, I can call it
> step1, it should works.
> <bean ref="processorService" method="processTest(${body})"/>
>
> But processorService is an OSGi service. I can't check null value in this
> step. So I only can check null in the below step´╝î I can call it step2. But
> if I check in the step2, the redelivery policy only try to redelivery in the
> step2. But actually I want it to redelivery in the step1, what should I do?
> <--logProcessor is just  used to log the returned value from service
> bundle-->
> <to id="IdLogProcessor" uri="logProcessor"/>
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/how-to-do-redelivery-message-tp5748060p5748227.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
Make your Camel applications look hawt, try: http://hawt.io

Mime
View raw message