Return-Path: Delivered-To: apmail-activemq-camel-dev-archive@locus.apache.org Received: (qmail 8839 invoked from network); 22 Dec 2008 06:13:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Dec 2008 06:13:28 -0000 Received: (qmail 6371 invoked by uid 500); 22 Dec 2008 06:13:28 -0000 Delivered-To: apmail-activemq-camel-dev-archive@activemq.apache.org Received: (qmail 6294 invoked by uid 500); 22 Dec 2008 06:13:28 -0000 Mailing-List: contact camel-dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: camel-dev@activemq.apache.org Delivered-To: mailing list camel-dev@activemq.apache.org Received: (qmail 6283 invoked by uid 99); 22 Dec 2008 06:13:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 Dec 2008 22:13:28 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Dec 2008 06:13:26 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 7A830234C2CB for ; Sun, 21 Dec 2008 22:13:05 -0800 (PST) Message-ID: <605614322.1229926385496.JavaMail.jira@brutus> Date: Sun, 21 Dec 2008 22:13:05 -0800 (PST) From: "Willem Jiang (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Commented: (CAMEL-959) JMS InOut operations should default to non transacted even if the JMS component or endpoint defaults to transacted; as typically RPCs over JMS are not transacted In-Reply-To: <2120518142.1222964812588.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/CAMEL-959?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=48297#action_48297 ] Willem Jiang commented on CAMEL-959: ------------------------------------ User should avoid the situation of configure the same transaction manager for two jms component in the same route rule for the InOut message. {code} from("activemq:queue:mainStage?replyTo=queue:mainStage.reply").to("activemq:queue:request?replyTo=queue:request.reply"); {code} If not , you will get transaction time out exception, since the message sending to the second queue will never be committed in a single local transaction. > JMS InOut operations should default to non transacted even if the JMS component or endpoint defaults to transacted; as typically RPCs over JMS are not transacted > ----------------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: CAMEL-959 > URL: https://issues.apache.org/activemq/browse/CAMEL-959 > Project: Apache Camel > Issue Type: Improvement > Components: camel-jms > Affects Versions: 1.5.0 > Reporter: James Strachan > Assignee: James Strachan > Fix For: 1.5.1, 2.0.0 > > > currently there is no automatic transaction commit inside the send of the request when doing InOut with JMS; so the transaction won't commit if the component/endpoint is transacted - then the message won't reach the request and things will time out. > This will be confusing to users. > So if things are transacted; lets default to using non-transacted for InOut - and force a new property, transactedInOut to allow that to be transacted if folks really want that (which they usually won't I'd have thought). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.