Instead of hardcoding the address on your client, you can use the
CamelDestinationOverrideUrl header to dynamically set the url at runtime
setHeader headerName=“CamelDestinationOverrideUrl
simplehttp://10.47.2.203:8080/rest/api/2/search?jql=project=${body}/simple
/setHeader
- Andy
--
Andrew
That's work for me !! Thank you for the help
--
View this message in context:
http://camel.465427.n5.nabble.com/How-to-pass-message-from-activemq-queue-to-cxf-client-rest-tp5765481p5765519.html
Sent from the Camel - Users mailing list archive at Nabble.com.
/How-to-pass-message-from-activemq-queue-to-cxf-client-rest-tp5765481p5765485.html
Sent from the Camel - Users mailing list archive at Nabble.com.
!!
--
View this message in context:
http://camel.465427.n5.nabble.com/How-to-pass-message-from-activemq-queue-to-cxf-client-rest-tp5765481.html
Sent from the Camel - Users mailing list archive at Nabble.com.
/constant
/setHeader
to uri=cxfrs:bean:rsClient /
/route
/camelContext*
Can any one help me please !!
--
View this message in context:
http://camel.465427.n5.nabble.com/How-to-pass-message-from-activemq-queue-to-cxf-client-rest-tp5765481.html
Sent from the Camel - Users