[ 
https://issues.apache.org/jira/browse/CAMEL-4202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13062482#comment-13062482
 ] 

Claus Ibsen commented on CAMEL-4202:
------------------------------------

Okay I think there is a tradeoff if we lower the spring receiveTimeout to lower 
than 1 sec. For example if we use 1 millis, then it will overload and send pull 
packets to the AMQ broker to receive messages.

The reason why temporary queues is faster is because they dont have any 
JMSMessageListener as the persistent does. So with temporary queues it can pull 
every 1sec and pickup messages as fast as possible, as the received message is 
always for the reply manager.


> camel-jms - Using request/reply over persistent queues should be faster
> -----------------------------------------------------------------------
>
>                 Key: CAMEL-4202
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4202
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-jms
>    Affects Versions: 2.7.1
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.8.0
>
>
> See nabble
> http://camel.465427.n5.nabble.com/slow-reply-for-jms-component-when-url-contains-replyTo-tp4563075p4563075.html
> When using persistent replyTo queues for request/reply over JMS, then the 
> ReplyManager should be faster to pickup replies.
> The default spring-jms timeout is 1 sec and it impacts the performance.
> Likewise the receiveTimeout should not be set on the reply managers as that 
> does not apply here.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to