RE: ProducerTemplate is waiting on something

2023-05-04 Thread Shultz, Dmitry
Btw, just realized there are 3 different timeouts available on Camel HTTP component (!) https://camel.apache.org/components/3.20.x/http-component.html#_using_client_timeout_so_timeout, will go with that. From: Shultz, Dmitry Sent: Thursday, May 4, 2023 11:38 AM To: users@camel.apache.org

RE: ProducerTemplate is waiting on something

2023-05-04 Thread Shultz, Dmitry
Thanks Claus! There is DefaultAsyncProcessAwaitManager and it has getThreadsBlocked() operation, but it returns 0. There is also DegfaultInflightRepository with browse() operation, but I can’t get anything because InflightBrowseEnabled (this is required to be enabled for the browse operations

Re: ProducerTemplate is waiting on something

2023-05-04 Thread Claus Ibsen
Hi There is a mbean under services (I think) that has something with await manager - it has operations to list the blocked On Thu, May 4, 2023 at 8:01 PM Shultz, Dmitry wrote: > Thanks Claus, it helped a lot! > > I can see the ‘Exchanges Inflight’ number in the jconsole >

RE: ProducerTemplate is waiting on something

2023-05-04 Thread Shultz, Dmitry
Thanks Claus, it helped a lot! I can see the ‘Exchanges Inflight’ number in the jconsole org.apache.camel->routes->route-id->Attributes->Exchanges Inflight, but you mentioned there is some way to see the list of actual exchanges. What is the path in jconsole to see it? Dmitry From: Claus

Re: ProducerTemplate is waiting on something

2023-05-04 Thread Claus Ibsen
Hi That indicates that a camel component is waiting for a reply that is taking a very long time, or not happening, or a timeout is not being triggered. You can use JMX and look in blocked exchanges to see a list and where they are in the route, and unblock them also. hawtio also have a page to