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 » XA MessagingBridge with mqseries and weblogic. It works?

Post new topic  Reply to topic
 XA MessagingBridge with mqseries and weblogic. It works? « View previous topic :: View next topic » 
Author Message
preich
PostPosted: Tue Nov 01, 2005 6:26 am    Post subject: XA MessagingBridge with mqseries and weblogic. It works? Reply with quote

Novice

Joined: 12 Oct 2005
Posts: 15

Due to usage of XA transaction with MQSeries on host rather that weblogic host, require Extended Transactional Client - i have tried to use MessagingBridge feature in weblogic8.1.

So, when we send message to JMS queue (source destination for messaging bridge) in transactional context it will be forwarded to MQSeries destination only after commit transaction. And if transaction will be crashed, MessagingBridge will not forward message from JMS to MQSeries.

It is good substitution for XA transactions with MQSeries, i hope.

In config.xml it looks like

<BridgeDestination
AdapterJNDIName="eis.jms.WLSConnectionFactoryJNDIXA"
Name="mq_q_xa_bridgeQueue" Properties="DestinationJNDI=TEST2;DestinationType=Queue;ConnectionURL=file:/c:/jndidir;InitialContextFactory=com.sun.jndi.fscontext.RefFSContextFactory;ConnectionFactoryJNDI=QCF2"/>
<JMSBridgeDestination
ConnectionFactoryJNDIName="bear.fi.tradehub.thqueueconnectionfactory"
DestinationJNDIName="bear.fi.tradehub.bridgequeue" Name="THbridgequeue"/>
<MessagingBridge AsyncEnabled="false" Name="wls2mqXA"
QOSDegradationAllowed="false" QualityOfService="Exactly-once"
SourceDestination="THbridgequeue" Started="true"
TargetDestination="mq_q_xa_bridgeQueue" Targets="cgServer"/>


And this implementation of XA transaction in weblogic+mqseries work.

Does it have any bugs or hole or another disadvantages?

Thanks.
Back to top
View user's profile Send private message
mcrod
PostPosted: Wed Mar 08, 2006 6:39 am    Post subject: Reply with quote

Newbie

Joined: 08 Mar 2006
Posts: 6

I am going on that direction as well. Do you have any performance issues on that ?
Back to top
View user's profile Send private message MSN Messenger
mcrod
PostPosted: Wed Mar 08, 2006 4:52 pm    Post subject: Reply with quote

Newbie

Joined: 08 Mar 2006
Posts: 6

Hi, I am having the following error:

JMSBaseConnect.JMSBaseConnection name = wls2mqXA, JMSbrDest = MyMQtoJMSInputBrid
geDestination
JMSBaseConnect.JMSBaseConnection userName = null, password = null, URL = t3://lo
calhost:7001
JMSBaseConnection.get mBeanHome
Instance 1b not found
JMSBaseConnection.getConfigBean 1b, name = wls2mqXA, notes = null
<Mar 8, 2006 9:43:05 PM BRT> <Warning> <Connector> <BEA-190032> << Weblogic Mess
aging Bridge Adapter (XA)_eis/jms/WLSConnectionFactoryJNDIXA > ResourceAllocatio
nException of javax.resource.ResourceException: Failed to start the connection o
n createManagedConnection.>
Back to top
View user's profile Send private message MSN Messenger
mvic
PostPosted: Wed Mar 08, 2006 5:49 pm    Post subject: Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

mcrod, could you please open your own thread, so that we can continue to address the issue raised originally? Thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » XA MessagingBridge with mqseries and weblogic. It works?
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.