Hi

See this FAQ
http://camel.apache.org/how-to-use-a-dynamic-uri-in-to.html

On Fri, Jun 26, 2015 at 2:39 PM, renato_natos <[email protected]> wrote:
> Hi,
> I need iterate in sql result, for each result i need to create a http
> request, but dont work.
>
> My code is:
>
> <route>
>   <from uri="sql:select id,message from message" />
>   <split>
>     <simple>body</simple>
>     <to uri="http4://localhost:8080/sender?id=:#id&message=:#message" />
>   </split>
> </route>
>
> The result is ArrayList and each item is a Map, when the result is converted
> in arraylist, its work, but in split the body is converted in String.
>
> How can i to do this?
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Iterate-in-sql-result-list-tp5768597.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: [email protected]
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/

Reply via email to