[JBoss-user] [Messaging, JMS JBossMQ] - Distributed transaction and Message Driven Bean

2005-01-13 Thread wengatz_n
Hi,

 
we have been playing around with Message Bean to investigate how a distributed 
transaction works in 
an asynchronous way.  But we could not make that working.  

 
Basically we have the following example:

1)   BankFacade - a stateless session Bean

2)   OracleAccountMDB - a message driven bean which internally invokes a 
OracleAccountEntityBean

3)   MySqlAccountMDB - similar to the above but invokes 
MySqlAccountEntityBean

4)   OracleAccountEntityBean and MySqlAccountEntityBean manages a bank 
account table in oracle and mysql respectively

 

In BankFacade session Bean, there is a method call transfer which transfer 100 
Euro from account in MySql to that in Oracle.  
Both MDBs are configured to use Container Managed transactions.  

 

Test Case:

1)   Configure BankFacade to use Bean Managed Transaction, 

2)   In transfer method, explicitly get a UserTransaction and start a new 
transaction, 

3)   Send messages to tell OracleAccountMDB to deposit money and 
MySqlAccountMDB to withdraw money; 

4)   Once it?s done, call Rollback to rollback the whole transaction OR 
(other scenario) let one of the Entity Beans throw an exception.

The result is the transaction is Committed instead.

 
Is there a way to propagate the transaction from the Session Bean BankFacade to 
the MessageDrivenBeans?


 
Thanks and best regards

Nicole


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3861919#3861919

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3861919


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Scalable JMS cluster solution?

2004-07-06 Thread wengatz_n
Hi,
in our project we have the requirement for a scalable asynchronous
communication protocol. We started with evaluation of different JMS
products (f.e. JBOSSMQ, SonicMQ, OpenJMS). 

We are happy with JBossMQ, we were able to send and receive about 
4000 msgs per second (topic with 40 subscribers) on one node. The next task is to 
improve the performance further by using a clustered environment.

Therefore we performed some tests with a JBoss 3.2.5 cluster and found out that JMS is 
deployed as a HASingleton. That means we will get a reliable JMS solution but not a 
scalable solution with our cluster.

And now my questions:
===

Can this behavior be modified? If not are there plans to provide
a scalable JMS cluster solution? In the JBoss 4 Roadmap I found the
information that reliability has higher priority as scalability, but could you
please give my an idea if and when we can expect a scalable JMS
solution.

Thanks a lot and Best regards
Nicole

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3841093#3841093

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841093


---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user