"gaohoward" wrote : JBM doesn't use XA datasource. You just need to configure
your MDB to be transactional, that's ok.
|
You can do that?
"ejb3workshop" wrote : I am injecting my connection factory using
|
|
| | @Resource(name = "jms/ConnectionFactory")
| | protected ConnectionF
I am injecting my connection factory using
| @Resource(name = "jms/ConnectionFactory")
| protected ConnectionFactory m_factory;
|
and then in jboss.xml I am mapping it to the actual connection factory :
|
| jms/ConnectionFactory
| java
JBM doesn't use XA datasource. You just need to configure your MDB to be
transactional, that's ok.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4247615#4247615
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4247615
_
Maybe it is my setup but my tests with the JmsXA are not working... and it is
driving me nuts.
As mentioned I am trying to force the transaction to rollback by throwing an
exception after the 'sending' of a message but the message still gets sent out.
May I ask some detailed questions:
1) When
I am also using 1.4.2 GA SP1 and have found that using JmsXA works and support
XA transactions, at the cost of distribution. It still distributes the messages
once all beans in the pool on one node are exhausted.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=
Detail info:
I am using JBoss Messaging 1.4.2.GA-SP1
I would move to 1.4.4 but it (1.4.4 requires jboss-remoting 2.2.3) conflicts
with a different issue I resolved with a newer version of jboss-remoting
(2.4.0).
Sees like jbr 2.4.0 is not backwards compatible.
View the original post :
http://ww
Please have a look at this thread :
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=137334
Using java:/JmsXA for both should give you the behaviour you are after.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4247594#4247594
Reply to the post :
htt
Update:
Doing some tests.
I have two destinations:
Queue (configured as non-clustered):
Destination : "queue/TestQueue"
Factory : "java:/JmsXA"
Type : "javax.jms.Queue"
NeedsTransactions : true
Topic (configured as clustered):
Destination : "queue/TestTopic"
Factory : "/ClusteredConnectionFactory