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: newbie help
Date Tue, 29 Dec 2009 10:50:04 GMT
Yeah looks like you B bean returns null. Please return something else.



On Tue, Dec 29, 2009 at 10:32 AM, Willem Jiang <willem.jiang@gmail.com> wrote:
> Form the log it looks like you just passed null into the bean method , and
> bean method returning the null result.
>
> I don't know if it will cause the message stop routing , but can you try to
> return some thing in your bean:compA ?
>
> Willem
>
> yaog wrote:
>>
>> Changing my main to have:
>>
>>    producerTemplate.sendBody("bean:compB", ExchangePattern.InOut, null);
>>
>> shows that compB is invoked.
>>
>> full log file attached.
>>
>> Please advise. http://old.nabble.com/file/p26952227/trace_log.txt
>> trace_log.txt
>
>



-- 
Claus Ibsen
Apache Camel Committer

Author of Camel in Action: http://www.manning.com/ibsen/
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Mime
View raw message