You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by gsamy <th...@gmail.com> on 2013/08/24 00:28:45 UTC
How to extract the URL parameters using Spring DSL?
How to extract the URL parameters using Spring DSL?
For example:
http://localhost:8080/service/inv/US/1000/123456/1K
from the above URL I need to extract the US,1000,123456 and 1K values.
These parameters I have to attach dynamically to the other service URL while
route.
Like below
http://test.com:9089/example/service/{country}/{item#}/{store#}/{size}
Thanks,
Guru
--
View this message in context: http://camel.465427.n5.nabble.com/How-to-extract-the-URL-parameters-using-Spring-DSL-tp5737846.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: How to extract the URL parameters using Spring DSL?
Posted by gsamy <th...@gmail.com>.
Yes, same params all the time.
Thanks,
--Guru
--
View this message in context: http://camel.465427.n5.nabble.com/How-to-extract-the-URL-parameters-using-Spring-DSL-tp5737846p5737874.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: How to extract the URL parameters using Spring DSL?
Posted by Tracy Snell <ts...@gmail.com>.
Same number of params each time? Restlet does it easily:
from("restlet:http://localhost:8080/service/inv/{country}/{item}/{store}/{size}")….
On Aug 23, 2013, at 6:28 PM, gsamy <th...@gmail.com> wrote:
> How to extract the URL parameters using Spring DSL?
>
> For example:
> http://localhost:8080/service/inv/US/1000/123456/1K
>
> from the above URL I need to extract the US,1000,123456 and 1K values.
> These parameters I have to attach dynamically to the other service URL while
> route.
> Like below
> http://test.com:9089/example/service/{country}/{item#}/{store#}/{size}
>
> Thanks,
> Guru
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/How-to-extract-the-URL-parameters-using-Spring-DSL-tp5737846.html
> Sent from the Camel - Users mailing list archive at Nabble.com.