Hi all

I'm trying this in my camle route:

<multicast strategyRef="groupedExchangeAggregationStrategy"
stopOnException="true">
      <to uri="{{ws.url}}?param=${body.id}" />
      <log message="aggregate with param: ${body.id}" logName="ranbase" />
</multicast>

where ws.ur is a property file key like:
ws.url=http://localhost:8080/service

and ${body.id} is an id wich value I have.

The problem is when I call this comoposed URL it calls my webservice without
adding this id, it seems is not resolving this value.

Is there any other option I can try?

I've also tried something like:

<setProperty propertyName="completeUrl">
     <simple>{{ws.url}}?param=${in.body.id}</simple>
</setProperty >

and use it like:
<to uri="${property.completeUrl}" />

But then an exception is thrown.

Thanks you all



--
View this message in context: 
http://camel.465427.n5.nabble.com/Problems-with-dynamic-URL-tp5754894.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to