You are sending the InOnly message to seda endpoint. Can you change it to InOut?
-- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fusesource.com | http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese) Twitter: willemjiang Weibo: 姜宁willem On Friday, May 17, 2013 at 8:38 AM, paramjyotsingh wrote: > 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="<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 > (http://Nabble.com).