Re: conditional uri

2013-07-23 Thread Bart Horré
ing > properties should be possible. > > Jan > > > -Ursprüngliche Nachricht- > > Von: Chris Wolf [mailto:cwolf.a...@gmail.com] > > Gesendet: Dienstag, 16. Juli 2013 16:17 > > An: users@camel.apache.org > > Betreff: Re: conditional uri > > >

Re: conditional uri

2013-07-16 Thread Chris Wolf
It depends on what you mean by "conditional" - if you mean conditional at route-definition time, you can use property placeholders and/or Language Expressions. If you mean conditional at runtime, then I'm pretty sure you can only do that with producer endpoints (i.e. "to" endpoints) see: http://

Re: conditional uri

2013-07-16 Thread David Karlsen
You could either make it configurable with placeholders: http://camel.apache.org/using-propertyplaceholder.html or use a when choice: http://camel.apache.org/spring-xml-extensions.html 2013/7/16 boris > How could I have a conditional uri string? > For example, > I have for testing. > I want t