You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Ryan T <br...@yahoo.com> on 2017/05/03 16:39:36 UTC

How to increase camel exchange timeout threshold

I'm getting this exception.

org.apache.camel.ExchangeTimedOutException: The OUT message was not received
within: 30000 millis. Exchange[ID-mid3-33287-1493765150908-0-613311]

Anyone know how to change the threshold to say 60 seconds?

I've tried:

from("seda:myProcess?concurrentConsumers=10&timeout=45000")

But it must be a different setting as adding the timeout param did nothing
to resolve the exchange timeout.



--
View this message in context: http://camel.465427.n5.nabble.com/How-to-increase-camel-exchange-timeout-threshold-tp5798620.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: How to increase camel exchange timeout threshold

Posted by Ryan T <br...@yahoo.com>.
souciance,
Thanks for the feed back.  I will try that change.  Do you know if there is
a way to do it at the route level?




--
View this message in context: http://camel.465427.n5.nabble.com/How-to-increase-camel-exchange-timeout-threshold-tp5798620p5798654.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: How to increase camel exchange timeout threshold

Posted by souciance <so...@gmail.com>.
Try setting this method to a value of your choice.

https://camel.apache.org/maven/camel-2.15.0/camel-core/apidocs/org/apache/camel/impl/DefaultShutdownStrategy.html#setTimeout(long)

Exchange timeouts are set att Camel context level and not the seda level.

On Wed, May 3, 2017 at 6:39 PM, Ryan T [via Camel] <
ml+s465427n5798620h83@n5.nabble.com> wrote:

> I'm getting this exception.
>
> org.apache.camel.ExchangeTimedOutException: The OUT message was not
> received within: 30000 millis. Exchange[ID-mid3-33287-1493765150908-0-613311]
>
>
> Anyone know how to change the threshold to say 60 seconds?
>
> I've tried:
>
> from("seda:myProcess?concurrentConsumers=10&timeout=45000")
>
> But it must be a different setting as adding the timeout param did nothing
> to resolve the exchange timeout.
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
> http://camel.465427.n5.nabble.com/How-to-increase-camel-
> exchange-timeout-threshold-tp5798620.html
> To start a new topic under Camel - Users, email ml+s465427n465428h31@n5.
> nabble.com
> To unsubscribe from Camel - Users, click here
> <http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=465428&code=c291Y2lhbmNlLmVxZGFtLnJhc2h0aUBnbWFpbC5jb218NDY1NDI4fDE1MzI5MTE2NTY=>
> .
> NAML
> <http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: http://camel.465427.n5.nabble.com/How-to-increase-camel-exchange-timeout-threshold-tp5798620p5798628.html
Sent from the Camel - Users mailing list archive at Nabble.com.