|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
XA MessagingBridge with mqseries and weblogic. It works? |
« View previous topic :: View next topic » |
Author |
Message
|
preich |
Posted: Tue Nov 01, 2005 6:26 am Post subject: XA MessagingBridge with mqseries and weblogic. It works? |
|
|
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 |
|
 |
mcrod |
Posted: Wed Mar 08, 2006 6:39 am Post subject: |
|
|
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 |
|
 |
mcrod |
Posted: Wed Mar 08, 2006 4:52 pm Post subject: |
|
|
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 |
|
 |
mvic |
Posted: Wed Mar 08, 2006 5:49 pm Post subject: |
|
|
 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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|