Return-Path: Delivered-To: apmail-camel-dev-archive@www.apache.org Received: (qmail 73934 invoked from network); 5 Apr 2011 05:17:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 5 Apr 2011 05:17:31 -0000 Received: (qmail 96324 invoked by uid 500); 5 Apr 2011 03:30:48 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 96155 invoked by uid 500); 5 Apr 2011 03:30:47 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 96143 invoked by uid 99); 5 Apr 2011 03:30:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Apr 2011 03:30:44 +0000 X-ASF-Spam-Status: No, hits=-1998.7 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD,URI_HEX X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Apr 2011 03:30:42 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id E3B8492294 for ; Tue, 5 Apr 2011 03:30:05 +0000 (UTC) Date: Tue, 5 Apr 2011 03:30:05 +0000 (UTC) From: "Hadrian Zbarcea (JIRA)" To: dev@camel.apache.org Message-ID: <744196413.34101.1301974205929.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <834256760.14040.1299868439401.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CAMEL-3781) Add option to disable expiration on JMS component MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CAMEL-3781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13015738#comment-13015738 ] Hadrian Zbarcea commented on CAMEL-3781: ---------------------------------------- Heath, I am not disagreeing with you. I was just pointing out that there is another 2 line change that has exactly the same same effect. >From your example, if the requestTimeout=2000 and disableExpiration=true, then the value of requestTimeout is ignored, so one might as well set it to 0, it won't do any good to "want a timeout of some value". In other words a requestTimeout=0 would have the same semantics as disableExpiration=true, i.e. TTL not be set (unless I am missing something). Do you agree with the assessment above? Introducing new options complicates urls, documentation, etc. and I prefer avoiding that when possible. Other than that the patch is good, thanks for the patch by the way. I would only recommend implementing it by using the value '0' of the requestTimeout (unused now) instead of introducing a new option. > Add option to disable expiration on JMS component > ------------------------------------------------- > > Key: CAMEL-3781 > URL: https://issues.apache.org/jira/browse/CAMEL-3781 > Project: Camel > Issue Type: New Feature > Components: camel-jms > Affects Versions: 2.6.0 > Environment: Java 1.6.0_24, Mac OS X 10.6.6 > Reporter: Bryan Keller > Priority: Minor > Fix For: 2.8.0 > > Attachments: patch-3781.diff > > > It would be nice to add an option to the JMS component to disable the use of message expirations for InOut exchanges. If a client and server have clocks that are out-of-sync, using message expiration can cause problems. More details can be found here: > http://camel.465427.n5.nabble.com/InOut-exchanges-require-synchronized-clocks-td3411881.html -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira