It is certainly possible using something similar to this:

http://www.jboss.org/index.html?module=bb&op=viewtopic&t=46193
which is a TODO.

My point with transactions is that if you send a message to ServerA inside a
transaction it will be persisted there.

Then you need a further JTA transaction that uses two phase commit to
move it to serverB and remove it from serverA.

client -> Topic -> ProxyTopicSubscription (transaction 1 - might not be JTA)
ProxyTopicSubscription -> RealTopicSubscription (transaction 2 - must be JTA)

If you tried to do: 
client -> Topic -> ProxyTopicSubscription -> RealTopicSubscription
in one transaction. JBossMQ's local transaction would have to be made into a real DTM
implementation, which is not a correct abstraction.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846133#3846133

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846133


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to