ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » sample code for MQ JMS with XA Tranx

Post new topic  Reply to topic
 sample code for MQ JMS with XA Tranx « View previous topic :: View next topic » 
Author Message
balareddy
PostPosted: Mon Mar 06, 2006 10:08 pm    Post subject: sample code for MQ JMS with XA Tranx Reply with quote

Acolyte

Joined: 06 Feb 2006
Posts: 54

Hi,

can anybody give me sample code for MQ JMS with XA tranx connecting Oracle databse. (not MQ Classes for JAVA with XA)
_________________
bala
Back to top
View user's profile Send private message AIM Address
BenR
PostPosted: Mon Mar 06, 2006 11:09 pm    Post subject: Reply with quote

Acolyte

Joined: 31 Jan 2006
Posts: 60
Location: Hursley, UK

You can't do it outside of WebSphere Application Server or WebLogic. It isn't supported.

Within an application server, just let the container manage the transaction.

edit: haven't we been here before? What is your environment now?
Back to top
View user's profile Send private message Visit poster's website
balareddy
PostPosted: Mon Mar 06, 2006 11:30 pm    Post subject: Reply with quote

Acolyte

Joined: 06 Feb 2006
Posts: 54

BenR wrote:
You can't do it outside of WebSphere Application Server or WebLogic. It isn't supported.

Within an application server, just let the container manage the transaction.

edit: haven't we been here before? What is your environment now?



I am trying in AIX5.2 with MQSeries 5.3.

If XA is not possible with MQ JMS without Application Server, can anybody give me sample code to work XA with MQ classes for Java and Oracle Databse.
_________________
bala
Back to top
View user's profile Send private message AIM Address
BenR
PostPosted: Mon Mar 06, 2006 11:40 pm    Post subject: Reply with quote

Acolyte

Joined: 31 Jan 2006
Posts: 60
Location: Hursley, UK

With the MQ Classes for Java API it's easy (at least, as easy as XA ever is).

http://www-128.ibm.com/developerworks/websphere/library/techarticles/0601_ritchie/0601_ritchie.html

Edit - I know that says version six, with 5.3 the support statement is slightly different (I don't believe Oracle 10g is supported with MQ 5.3, for example). The Java code is just the same.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » sample code for MQ JMS with XA Tranx
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.