camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From marcin80 <mtros...@gmail.com>
Subject Camel splitter
Date Wed, 09 Jun 2010 13:26:01 GMT

Hi,

I'm using Camel v.2.2. I have a problem with splitter. This code

Splitter's input data come from jdbc component - query returns two table's
columns.

<camel:split>
 	      	<camel:simple>${in.body}</camel:simple>
 	      	<camel:to uri="bean:testBean?method=test"/>
</camel:split>

doesn't works as I expect. Method test of my bean is invoked with String's
argument type.

Following code works fine and method test of my bean is invoked with
HashMap's argument type.

<camel:split>
 	      	<camel:el>${in.body}</camel:el>
 	      	<camel:to uri="bean:testBean?method=test"/>
</camel:split>

works fine.

What am I doing wrong?

Cheers,
Marcin
-- 
View this message in context: http://old.nabble.com/Camel-splitter-tp28830386p28830386.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Mime
View raw message