Hi

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

On Thu, Mar 21, 2013 at 3:59 AM, Bazzer <[email protected]> wrote:
> Hi,
>
> I'm writing my own component and I wondered if it was possible for the
> Endpoint URL to be able to contain a Simple expression.
>
> For example:
>
> <to uri="mycomp://start-server?name=${body[svr]}" />
>
> or
>
> <to uri="mycomp://start-server/${body[svr]}" />
>
> I thought that perhaps Camel would process the URL before it was passed to
> the Component object, but I'm happy to invoke Simple myself if necessary.
>
> Any assistance would be appreciated! Thanks!
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Processing-Simple-expressions-in-a-Component-Endpoint-URL-tp5729580.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: [email protected]
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to