Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 93771 invoked from network); 4 Sep 2009 19:26:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Sep 2009 19:26:27 -0000 Received: (qmail 48538 invoked by uid 500); 4 Sep 2009 19:26:27 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 48469 invoked by uid 500); 4 Sep 2009 19:26:27 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 48458 invoked by uid 99); 4 Sep 2009 19:26:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Sep 2009 19:26:26 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of tabish121@gmail.com designates 209.85.221.200 as permitted sender) Received: from [209.85.221.200] (HELO mail-qy0-f200.google.com) (209.85.221.200) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Sep 2009 19:26:16 +0000 Received: by qyk38 with SMTP id 38so211134qyk.27 for ; Fri, 04 Sep 2009 12:25:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:in-reply-to :references:content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; bh=PmLGo/UX23KklOC9XEEVBSwLn25i+4FREMvDOIMbesQ=; b=iY9WZe81W3VFVAXHBk5ZCrxIH1HyZtvwPOQhmncu7vcny4mbJwlf1OlYWrn8khzYsH NzufO4cQvuAszSr9EcUg8PK86I5VnxR5i9GWyGNnoAi1u8SEBuRvo1tgqAxQUp4lTa67 V6XYo4NrbheHEYWg9pz43UQZ/n0i3YWPNKzQs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:in-reply-to:references:content-type:date:message-id :mime-version:x-mailer:content-transfer-encoding; b=olAax/hfhizYmPgkMsuoqBKfvK0t+aEx46sxc3p4C8dzWeGvl5Y0t0MbWX8shAV6l4 uME5hjqWjnCc9bV+nRkTYUCK7Kneaeg6e9Lm8NTOmOS4C7XsadB8WIL/6UMcfSzgOkAI oTzmB95XYU9UjC6xwPABoEIMctt1sdprFermg= Received: by 10.224.25.3 with SMTP id x3mr7782332qab.159.1252092355592; Fri, 04 Sep 2009 12:25:55 -0700 (PDT) Received: from ?192.168.2.150? (c-69-138-183-90.hsd1.va.comcast.net [69.138.183.90]) by mx.google.com with ESMTPS id 23sm113957yxe.8.2009.09.04.12.25.54 (version=SSLv3 cipher=RC4-MD5); Fri, 04 Sep 2009 12:25:54 -0700 (PDT) Subject: Re: Tranactional Sessions from JMS Producer to CMS Consumer From: Timothy Bish To: users@activemq.apache.org In-Reply-To: <25295367.post@talk.nabble.com> References: <25295367.post@talk.nabble.com> Content-Type: text/plain Date: Fri, 04 Sep 2009 15:25:53 -0400 Message-Id: <1252092353.2906.2.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.26.3 (2.26.3-1.fc11) Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On Fri, 2009-09-04 at 07:27 -0700, GForce wrote: > Hopefully I can get some assistance here for this particular issue we are > running into. First let me provide some background. Our system is a pretty > standard SOA system. We have both Java and C++ services attached to > ServiceMix. We are using Camel to route the messages around the bus. There > are certain portions of the overall routes we want to make transactional, > you know data integrity and all that. Anyway, we have about 8 C++ services > attached to the bus using CMS. Those all appear to be going through the > same connection and session. This means that if we want to put > transactional messaging on one service we do it for all of them, as the > transactional setting is defined in the connection. We don't want to make > all the C++ services to be transactional and we are unsure how to make that > happen. CMS Clients like Java client have transacted Sessions, not transacted connections, so the services need to use individual Sessions in order for you to mix and match which is transacted and which is not. > > Now the question, how can we set it up so that one C++ service can be > transactional while the remaining 7 are non-transactional. Also, if there > are parameters set inside the Camel endpoints pointing to the C++ services > will those parameters be sent to the C++ services? Our Camel rules are > defined using Spring in Java by the way. Any help is greatly appreciated. > Thanks in advance. Regards Tim. -- Tim Bish http://fusesource.com http://timbish.blogspot.com/