Hi

The bug in 1.5-SNAPSHOT has been fixed now. So if you were using 1.5-SNAPSHOT 
could you please get the latest snapshot and try again.

Should take 2+ hours before its sync on the maven snapshot repo.


Med venlig hilsen
 
Claus Ibsen
......................................
Silverbullet
Skovsgårdsvænget 21
8362 Hørning
Tlf. +45 2962 7576
Web: www.silverbullet.dk

-----Original Message-----
From: Claus Ibsen [mailto:[EMAIL PROTECTED] 
Sent: 15. oktober 2008 18:43
To: [email protected]
Subject: RE: Multiple method invocation on same or different bean

Hi

Are you using the latest 1.5-SNAPSHOT of camel? If so it has a bug in the bean 
component for selecting methods.

I'm looking into it as I type.


Med venlig hilsen
 
Claus Ibsen
......................................
Silverbullet
Skovsgårdsvænget 21
8362 Hørning
Tlf. +45 2962 7576
Web: www.silverbullet.dk
-----Original Message-----
From: borgel [mailto:[EMAIL PROTECTED] 
Sent: 15. oktober 2008 14:42
To: [email protected]
Subject: Multiple method invocation on same or different bean


This route:
from(fromRoute)
.beanRef("transformer", "fromStringToFundList")
.to("bean:fundListDao?methodName=save")
.to("bean:fundListDao?methodName=updateFunds");

will call save twice instead of save and then updateFunds.
Have also tried with
from(fromRoute)
.beanRef("transformer", "fromStringToFundList")
.pipeline("bean:fundListDao?methodName=save",
"bean:fundListDao?methodName=updateFunds");

Same result.

Wondered if this was reintroduced
http://www.nabble.com/BeanProcessor-multiple-method-invocation-on-same-bean-td14506245s22882.html#a14506245
so I tried to with a different bean:
from(fromRoute)
.beanRef("transformer", "fromStringToFundList")
.to("bean:fundListDao?methodName=save")
.to("bean:fundDao?methodName=updateFunds");

but updateFunds does not get called.
fromStringToList returns a FundList object.
save takes FundList as input, so do updateFunds.
-- 
View this message in context: 
http://www.nabble.com/Multiple-method-invocation-on-same-or-different-bean-tp19992662s22882p19992662.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to