Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@apache.org Received: (qmail 560 invoked from network); 22 Mar 2002 16:51:10 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 22 Mar 2002 16:51:10 -0000 Received: (qmail 21311 invoked by uid 97); 22 Mar 2002 16:51:10 -0000 Delivered-To: qmlist-jakarta-archive-commons-dev@jakarta.apache.org Received: (qmail 21295 invoked by uid 97); 22 Mar 2002 16:51:09 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 21284 invoked from network); 22 Mar 2002 16:51:09 -0000 Message-ID: <001701c1d1bf$890a5900$9865fea9@spiritsoft.com> From: "James Strachan" To: "Jakarta Commons Developers List" References: <3C6FF800.B2A3F550@nitesco.com> <2a2001c1b7e2$e0765d70$9865fea9@spiritsoft.com> <3C700823.42B05424@nitesco.com> <2a3d01c1b7f5$cd620c30$9865fea9@spiritsoft.com> <3C9A7E38.1C6DC430@nitesco.com> Subject: Re: commons messenger Date: Fri, 22 Mar 2002 06:47:53 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Apparently-From: JamesStrach@aol.com X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N From: "Thomas Marsh" > James / List: > > We're about to start experimenting with MQ Series, Websphere AE, and > possibly commons messenger, and was wondering if the messenger objects > can participate in transactions (XA?) ? I.E. If I consume a message in a > session EJB, and something goes wrong, can I rollback the transaction so > the message remains on the queue? Sure thing. You can create an XA Connection/Session. Though right now that will take a custom SessionFactory to be used - we should add this to the XML config as an option. Though you'll need to do the JTA/JTS plumbing yourself right now - thats one thing we should address for sure. If you're doing some EJB stuff it might be easier to just use Message Driven EJBs; Messenger works better in web/servlet centric environments. James -- To unsubscribe, e-mail: For additional commands, e-mail: