Re: ExchangeTimedOutException

2022-10-11 Thread Stefan Kok
t it created a new blank message > and you loose everything from the original message.   > > -Original Message- > From: Stefan Kok > Sent: Monday, October 10, 2022 5:36 AM > To: users@camel.apache.org > Subject: Re: ExchangeTimedOutException > > Think

Re: ExchangeTimedOutException

2022-10-11 Thread Stefan Kok
On Mon, 2022-10-10 at 13:27 +0200, Stefan Kok wrote: The reason why the second call to the route failed is that my code did not update the rerence to the second exchang's exchange asyncCallback i.e I used the previous asyncCallback. > Hi Claus > > Thank you for the response. > > Background:

RE: ExchangeTimedOutException

2022-10-10 Thread Wilken Marci J
From: Stefan Kok Sent: Monday, October 10, 2022 5:36 AM To: users@camel.apache.org Subject: Re: ExchangeTimedOutException Think twice before clicking on links or opening attachments. This email came from outside our organization and might not be safe. If you are not expecting an attachment, co

Re: ExchangeTimedOutException

2022-10-10 Thread ski n
When you need to set the exchange pattern explicit: from("direct:foo") .setExchangePattern(ExchangePattern.InOut) .to("jms:queue:cheese"); I think when using an async producer template this pattern is automatically set. When you want to debug your route, you could set it as: from(EndPoint

Re: ExchangeTimedOutException

2022-10-10 Thread Stefan Kok
Thanks, Raymond On the return, I am not using the setOut method but the setMessage as setOut has been deprecated. It is my understanding that we should use setMessage instead of setOut. Stefan On Mon, 2022-10-10 at 12:43 +0200, ski n wrote: >  To enhance the answer of Claus: > > An exchange i

Re: ExchangeTimedOutException

2022-10-10 Thread Stefan Kok
Hi Claus Thank you for the response. Background: We trying to translate between REST and Websockets (io.socket library) with a custom component in development. Calling the route: Exchange exchange = ExchangeBuilder .anExchange(producerTemplate.getCamelContext())

Re: ExchangeTimedOutException

2022-10-10 Thread ski n
To enhance the answer of Claus: An exchange in Camel has two types: 1) InOnly 2) InOut See: https://camel.apache.org/manual/exchange-pattern.html With the first type of exchange, "InOnly", the exchange is an event message (also called 'fire and forget' or 'one-way)'. You will never see the war

Re: ExchangeTimedOutException

2022-10-10 Thread Claus Ibsen
It says that the message did not arrive, and that a timeout was triggered because of that. What kind of messaging protocol do you use? JMS, http, etc? On Mon, Oct 10, 2022 at 12:20 PM Stefan Kok wrote: > Hi All > > I am having great difficulty making sense of the below log entry: > > 10-10-2022

ExchangeTimedOutException

2022-10-10 Thread Stefan Kok
Hi All I am having great difficulty making sense of the below log entry: 10-10-2022 11:53:11.497 WARN [ForkJoinPool.commonPool-worker-2] com.experflow.service.OcepService.lambda$changeAgentState$3(OcepService .java:115) - Exception Message: org.apache.camel.ExchangeTimedOutException: The OUT mes

Re: ExchangeTimedOutException

2017-03-22 Thread Ryan T
Any other advice out there as to the problem I am trying solve? -- View this message in context: http://camel.465427.n5.nabble.com/ExchangeTimedOutException-tp5795836p5795893.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: ExchangeTimedOutException

2017-03-21 Thread catequil
in context: http://camel.465427.n5.nabble.com/ExchangeTimedOutException-tp5795836p5795846.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: ExchangeTimedOutException

2017-03-21 Thread catequil
, log, or process with a number.? -- View this message in context: http://camel.465427.n5.nabble.com/ExchangeTimedOutException-tp5795836p5795844.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: ExchangeTimedOutException

2017-03-21 Thread catequil
mel.465427.n5.nabble.com/ExchangeTimedOutException-tp5795836p5795842.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: ExchangeTimedOutException

2017-03-21 Thread souciance
ndPoints.URI_REST_ITEM_ENDPOINT) > .unmarshal().json(JsonLibrary.Jackson, ItemResponse.class) > .bean(iAuditService, "auditExternalResponseCall") > .process(new ItemPostProcessor()) > .bean(iDAOService, "saveItem"); > > > &g

ExchangeTimedOutException

2017-03-21 Thread catequil
I have a route similar to the following: Everything once in a while I get the ExchangeTimedOutException, but I do not know from which route segment the ExchangeTimedOutException is happening. Does anyone know how to determine where the timeout is actually occurring? -- View this message in

Re: TimeOut - ExchangeTimedOutException

2013-12-13 Thread Syed
Thanks, I am able to resolve by setting the options in query string as below. Regards Jawahar -- View this message in context: http://camel.465427.n5.nabble.com/TimeOut-ExchangeTimedOutException-tp5744516p5744735.html Sent from the Camel - Users mailing list archive at Nabble.com.

TimeOut - ExchangeTimedOutException

2013-12-09 Thread Syed
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [na:1.7.0_10] Thanks & Regards Jawahar -- View this message in context: http://camel.465427.n5.nabble.com/TimeOut-ExchangeTimedOutException-tp5744516.html Sent from the

Dynamic endpoint using Recipient, ExchangeTimedOutException

2012-12-04 Thread lleclerc
-endpoint-using-Recipient-ExchangeTimedOutException-tp5723624.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: ExchangeTimedOutException when using vm/seda with multipleConsumers=true

2012-05-24 Thread Michael Süess
.org/schema/spring/camel-spring.xsd";> http://camel.apache.org/schema/spring";> when running this sample i always got an ExchangeTimedOutException although all listeners have finished before the timeout. Any ideas? -- Michael Sueess

Re: ExchangeTimedOutException when using vm/seda with multipleConsumers=true

2012-05-23 Thread Claus Ibsen
to implement a >>> request-reply >>> observer pattern: >>> >>> >>> >>> http://www.springframework.org/schema/beans"; >>>       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; >>>       xmlns:camel="http://camel.apache.org/schema/spring"; >>>       xsi:schemaLocation=" >>>       http://www.springframework.org/schema/beans >>> http://www.springframework.org/schema/beans/spring-bea

Re: ExchangeTimedOutException when using vm/seda with multipleConsumers=true

2012-05-20 Thread Michael Süess
.org/schema/spring/camel-spring.xsd";> http://camel.apache.org/schema/spring";> when ru

Re: ExchangeTimedOutException when using vm/seda with multipleConsumers=true

2012-05-19 Thread Claus Ibsen
spring/camel-spring.xsd";> >    http://camel.apache.org/schema/spring";> >         >             >             >             >             >         > >         >             >             >             >         > >         >             >             >             >         >     > > > when running this sample i always got an ExchangeTimedOutException although > all listeners have finished before the timeout. &

Re: ExchangeTimedOutException when using vm/seda with multipleConsumers=true

2012-05-16 Thread Christian Müller
;http://camel.apache.org/schema/spring/camel-spring.xsd> > **"> > xmlns="http://camel.apache.**org/schema/spring<http://camel.apache.org/schema/spring> > "> > > > > > > > > >

ExchangeTimedOutException when using vm/seda with multipleConsumers=true

2012-05-16 Thread Michael Süess
http://camel.apache.org/schema/spring";> when running this sample i always got an ExchangeTimedOutException although all listeners have finished before the timeout. Any ideas?

Re: ExchangeTimedOutException not properly constructed by Camel 2.7.1 exposing exchange data

2011-11-07 Thread Claus Ibsen
; Constructor in CamelExchangeException.java uses > super(ExchangeHelper.createExceptionMessage(message, exchange, null)); where > the exception message is produced. > > ReplyManagerSupport.java: > if (timeout) { >                // no response, so lets set a timed out exception >                exchange.s

ExchangeTimedOutException not properly constructed by Camel 2.7.1 exposing exchange data

2011-11-07 Thread Pointless
d out exception exchange.setException(new ExchangeTimedOutException(exchange, holder.getRequestTimeout())); } else {...} = ${properties:esb.user} ${properties:esb.user.credentials} Exception originalException = exchange.getProperty(Exchange.E

Camel ExchangeTimedOutException

2011-06-07 Thread Ravi
Hi, We are using Apache ServiceMix (4.3.0-fuse-02-00) which is using Apache Camel(2.4.0.fuse-01-00) and we have services deployed in it. This services uses camel to communicate we each other through camel routes and are configured as below sample. In the service, it is consumed a

RE: InOut over JMS always leads to Timout (ExchangeTimedOutException)

2011-04-02 Thread Mike L .
er JMS always leads to Timout (ExchangeTimedOutException) > Date: Sat, 2 Apr 2011 13:47:48 -0500 > > > All: > > I just downloaded and installed ActiveMQ 5.5.0 and when I ran my test it > passed! > > Although it could be that the new version of ActiveMQ fixed the pr

RE: InOut over JMS always leads to Timout (ExchangeTimedOutException)

2011-04-02 Thread Mike L .
All: I just downloaded and installed ActiveMQ 5.5.0 and when I ran my test it passed! Although it could be that the new version of ActiveMQ fixed the problem - right now I suspect my activemq.xml configuration was in some way causing this. I will do more investigation and report back with my f

RE: InOut over JMS always leads to Timout (ExchangeTimedOutException)

2011-04-01 Thread Mike L .
Claus: Once again, thank you for your reply. Even my real-world application processes the messages much, much faster than 20 seconds. However, I can also replicate the problem using the sample class below (which reads the in message, appends a String to it, and returns the result). So, as I

Re: InOut over JMS always leads to Timout (ExchangeTimedOutException)

2011-03-31 Thread Claus Ibsen
If the processing of the messages is very slow then you can set a higher value for the timeout (20 sec by default) Its the requestTimeout option http://camel.apache.org/jms On Wed, Mar 30, 2011 at 11:56 PM, Mike L. wrote: >>> Attachment #1 (ActiveMQ_DLQ_Msg.png) shows a sample of such a message.

RE: InOut over JMS always leads to Timout (ExchangeTimedOutException)

2011-03-30 Thread Mike L .
>> Attachment #1 (ActiveMQ_DLQ_Msg.png) shows a sample of such a message. Hopefully, the attachment stays attached this time...

RE: InOut over JMS always leads to Timout (ExchangeTimedOutException)

2011-03-30 Thread Mike L .
Paul: Thank you for your response. Please see my comments inline below... > To: users@camel.apache.org > Date: Tue, 29 Mar 2011 04:35:51 -0700 > Subject: Re: InOut over JMS always leads to Timout (ExchangeTimedOutException) > > Mike, > > I can't see your original des

Re: InOut over JMS always leads to Timout (ExchangeTimedOutException)

2011-03-29 Thread Paul Lowry
; > Any help would be greatly appreciated. My manager has indicated that > if I cannot get this feature to work he is skeptical of using Camel at > all... > > > > TIA, > > > > Mike L. (aka patzerbud) > > > > > >> From: claus.ib...@gmai

Re: InOut over JMS always leads to Timout (ExchangeTimedOutException)

2011-03-28 Thread Claus Ibsen
dicated that if I > cannot get this feature to work he is skeptical of using Camel at all... > > TIA, > > Mike L. (aka patzerbud) > > >> From: claus.ib...@gmail.com >> Date: Fri, 25 Mar 2011 19:07:30 +0100 >> Subject: Re: InOut over JMS always leads to Ti

RE: InOut over JMS always leads to Timout (ExchangeTimedOutException)

2011-03-28 Thread Mike L .
appreciated. My manager has indicated that if I cannot get this feature to work he is skeptical of using Camel at all... TIA, Mike L. (aka patzerbud) > From: claus.ib...@gmail.com > Date: Fri, 25 Mar 2011 19:07:30 +0100 > Subject: Re: InOut over JMS always leads to Timout (ExchangeTimedOutExcept

Re: InOut over JMS always leads to Timout (ExchangeTimedOutException)

2011-03-25 Thread Claus Ibsen
As always when passing messages over JMS make sure the clock is synced between the boxes. There is a timestamp plugin for AMQ which can help http://activemq.apache.org/timestampplugin.html On Mon, Mar 21, 2011 at 8:45 PM, Mike L. wrote: > All: > > I have been trying to take advantage of the In

Re: InOut over JMS always leads to Timout (ExchangeTimedOutException)

2011-03-23 Thread Christian Schneider
Hi Mike, gerne doch ;-) Am 22.03.2011 16:13, schrieb Mike L.: In the real world application - I tried to simplify it so as to replicate/demonstrate that a problem exists - I implemented a Processor because the message has several values set in Headers. I am aware of Camel's excellent automatic

RE: AW: InOut over JMS always leads to Timout (ExchangeTimedOutException)

2011-03-22 Thread Mike L .
Christian: Vielen Dank fuer Deine Antwort! Aber (jetzt auf Englisch) please see my comments, inline: > To: users@camel.apache.org > Date: Tue, 22 Mar 2011 09:12:16 +0100 > Subject: AW: InOut over JMS always leads to Timout (ExchangeTimedOutException) > > Hi, > > I have n

AW: InOut over JMS always leads to Timout (ExchangeTimedOutException)

2011-03-22 Thread Christian Schneider
in spring: This should work nicely. Christian Von: Mike L. [mailto:patzer...@hotmail.com] Gesendet: Montag, 21. März 2011 20:46 An: users@camel.apache.org Betreff: InOut over JMS always leads to Timout (ExchangeTimedOutException) All: I have been trying to take advantage of the InOut pattern over

InOut over JMS always leads to Timout (ExchangeTimedOutException)

2011-03-21 Thread Mike L .
All: I have been trying to take advantage of the InOut pattern over JMS. I am using Camel 2.4.0 and ActiveMQ 5.3.1 I have created a simple example that can be run to replicate the problem I am experiencing. Attached please find the source code plus ant build file. Within the libs folder is a

Re: ExchangeTimedOutException: The OUT message was not received within: 20000 millis.

2010-06-03 Thread lekkie
e.camel.processor.SendProcessor.doProcess(SendProcessor.java:94) >>        at >> org.apache.camel.processor.SendProcessor.process(SendProcessor.java:82) >>        at >> org.apache.camel.processor.DelegateProcessor.processNext(DelegateProcessor.java:53) >>        at >> org.apache.c

Re: ExchangeTimedOutException: The OUT message was not received within: 20000 millis.

2010-06-03 Thread Claus Ibsen
veryErrorHandler.java:143) >        at > org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:88) >        at > org.apache.camel.processor.DefaultErrorHandler.process(DefaultErrorHandler.java:49) >        at > org.apache.camel.processor.DefaultChannel.process(Defau

ExchangeTimedOutException: The OUT message was not received within: 20000 millis.

2010-06-03 Thread lekkie
rorHandler.process(RedeliveryErrorHandler.java:88) at org.apache.camel.spring.spi.TransactionErrorHandler.access$001(TransactionErrorHandler.java:39) Kind help out. -- View this message in context: http://old.nabble.com/ExchangeTimedOutException%3A-The-OUT-message-was-not-received-with

Re: Websphere MQ ExchangeTimedOutException

2010-05-28 Thread Claus Ibsen
mDestinationResolver"/> >>>>>         >>>>>         >>>>>         >>>> ref="jmsTransactionManager"/> >>>>>     >>>>> >>>>>     >>>> class="org.springframework.jms.conn

Re: Websphere MQ ExchangeTimedOutException

2010-05-26 Thread omarito
>>>>         >>> ref="jmsTransactionManager"/> >>>>     >>>> >>>>     >>> class="org.springframework.jms.connection.JmsTransactionManager102"> >>>>         >>> ref="proxyConnectionFactory"/> >>>

Re: Websphere MQ ExchangeTimedOutException

2010-05-26 Thread Claus Ibsen
>>         >>>         >>>     >>> >>>     >> >>> class="org.springframework.jms.connection.UserCredentialsConnectionFactoryAdapter"> >>>         >> ref="jmsConnectionFactory"/> >>>         >>>         >>>     >>

Re: Websphere MQ ExchangeTimedOutException

2010-05-25 Thread omarito
> >> > class="com.ibm.mq.jms.MQQueueConnectionFactory"> >> >> > static-field="com.ibm.mq.jms.JMSC.MQJMS_TP_CLIENT_MQ_TCPIP"/> >> >> > value="${jms.endpoint.queueManager}"/> >> >> >> >> >> >> Any help will be gladly appreciated. Thanks in advance. > > > -- View this message in context: http://old.nabble.com/Websphere-MQ-ExchangeTimedOutException-tp28659946p28666889.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Websphere MQ ExchangeTimedOutException

2010-05-24 Thread Willem Jiang
Can I have a look at your camel route configure? What's your message exchange pattern ? Willem omarito wrote: HI to all, I am having some difficulties getting back the response received on the ReplyTo queue from our Websphere MQ Server. Using the MQ explorer I see the message in the ReplyTo que

Websphere MQ ExchangeTimedOutException

2010-05-24 Thread omarito
message in context: http://old.nabble.com/Websphere-MQ-ExchangeTimedOutException-tp28659946p28659946.html Sent from the Camel - Users mailing list archive at Nabble.com.