Re: Issue w/ multi-parameter bean methods

2010-12-21 Thread Claus Ibsen
On Tue, Dec 21, 2010 at 10:39 AM, Claus Ibsen wrote: > You are aware that you do NOT have any MY_ID header when you invoke > the logStart method on the bean, since the message has just been > consumed from a file. Therefore it only contains the CamelFileName > header. > > Camel is then not able to

Re: Issue w/ multi-parameter bean methods

2010-12-21 Thread Claus Ibsen
You are aware that you do NOT have any MY_ID header when you invoke the logStart method on the bean, since the message has just been consumed from a file. Therefore it only contains the CamelFileName header. Camel is then not able to map this header. On Sun, Dec 19, 2010 at 11:00 PM, Craig Taylo

Re: Issue w/ multi-parameter bean methods

2010-12-19 Thread Craig Taylor
I've gotten around the problem by turning it into a processor but the route was pro grammatically generated as from( "file:/home/myuser/data/in") .to( "bean:myLogger?method=logStart" ) .process( processor1 ) .to( "bean:myLogger?method=logEnd" ); I'll try and come up with an isolated test

Re: Issue w/ multi-parameter bean methods

2010-12-18 Thread Claus Ibsen
Can you post Camel version used and the route you are using? On Fri, Dec 17, 2010 at 6:42 PM, Craig Taylor wrote: > I'm attempting to fire a bean method "logStart" and am receiving a > conversion error as it appears it's treating my initial integer parameter as > the body.  From trace logs: > >