1) I have a requirement to expose a REST service POST with uri like
http://localhost:9080/boxes/{boxid}

would it be possible to expose this using jetty:http like:

<from uri="jetty:http://localhost:9080/boxes/{boxid} /> i know this doesn;t
work it works with restlet


2) In above question i am trying to use jetty:http as it allows custom
HttpBinding and I am using custom implementation to close connection and
write response for service exposed via camel.

<from uri="restlet:http://localhost:9080/boxes/{boxid}"/>
<to uri=&quot;&lt;test-validate-service>"/>
<inOnly uri="seda:background-processing"/>

in this example i am expecting response from validate-service as response
for /boxes/{boxid} service and i don;t want it to wait for background
processing to complete. But somehow my client connection is not getting
closed and at client side and i am not able to process response send by this
route.

Please help..



--
View this message in context: 
http://camel.465427.n5.nabble.com/jetty-http-dynamic-uri-in-consumer-from-tp5732691.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to