camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: how to do redelivery message
Date Mon, 03 Mar 2014 09:31:09 GMT

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 <> 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:
> Sent from the Camel - Users mailing list archive at

Claus Ibsen
Red Hat, Inc.
Twitter: davsclaus
Author of Camel in Action:
Make your Camel applications look hawt, try:

View raw message