A follow up to my previous post:

I use the controlbus to pause and resume this Rest/pull which will throw
exceptions until the message inflight has cleared. This lasts for 5 minutes
until it's forced to by the timeout.

<timer 1 time>
<loop a billion times>
<to
uri="jetty:http://api.application.com:80/v1/pull?throwExceptionOnFailure=false&amp;id={{stream.id}}&amp;api_key={{api_key}}&amp;username={{username}}"/>

I've noticed in Hawtio that Jetty maintains a state of 1 message "inflight"
at all times. 

Is this the nature of Async Jetty?

Is there a way to prevent this?
and/or Is there a way to reduce the amount of time it takes for Jetty to
pause (currently 5 minutes)

Thanks

Rob



--
View this message in context: 
http://camel.465427.n5.nabble.com/Jetty-as-a-producer-for-a-Rest-Call-tp5762262.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to