[ 
https://issues.apache.org/activemq/browse/CAMEL-184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40783
 ] 

Axel Hohaus commented on CAMEL-184:
-----------------------------------

If response of jms server and consumer ist very fast, i get an error that 
correlationId isn't registered and the wait of response end with a timeout.

I moved in JMSproducer.java the lines:

long requestTimeout = endpoint.getRequestTimeout();
FutureTask future = requestor.getReceiveFuture(correlationId, requestTimeout);

before the send:

getInOutTemplate().send(endpoint.getDestination(), new MessageCreator() {


Now all works fine.

> support InOut with JMS so we can use JMS to do proxy and export of services 
> (Spring Remoting)
> ---------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-184
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-184
>             Project: Apache Camel
>          Issue Type: New Feature
>            Reporter: James Strachan
>            Assignee: James Strachan
>             Fix For: 1.3.0
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to