camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: jetty:http dynamic uri in consumer (from)
Date Fri, 17 May 2013 07:37:35 GMT
Hi

You need to set matchOnUriPrefix=true on the jetty endpoint to have it
match /boxes/***


On Fri, May 17, 2013 at 2:38 AM, paramjyotsingh
<paramjyotsingh@gmail.com> 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=&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.



-- 
Claus Ibsen
-----------------
www.camelone.org: The open source integration conference.

Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cibsen@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Mime
View raw message