Forums Register Login

Is this a distributed transaction

+Pie Number of slices to send: Send
Hi

I have a Messaging System like ActiveMQ which has its own Persistance for the messages. I am retreiving a message from this queue and writing in my Application servier database.

Thus there are two databases involved.

I am sure this is a distributed transaction.

But just checking if there are any issues surrounding it.

+Pie Number of slices to send: Send
would say no because it is no XA, so you don't have a special persistence manager that have to deal with two synchronize to synchronize different database. You are just dealing to a single database (in the point of view of the Message consumer)
+Pie Number of slices to send: Send
 

Rahul Mahindrakar wrote:I am sure this is a distributed transaction.


Like Luan, I would say that's probably not the case, unless either your or ActiveMQ's database is distributed (ie, held on more than one node).

And it might still not qualify as a distributed transaction if ActiveMQ provides you with a "face" that appears undistributed, even if their underlying db actually is.

Winston
He got surgery to replace his foot with a pig. He said it was because of this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 760 times.
Similar Threads
how to involve Java messaging in a distributed transaction
Distributed transactions
distributed transactions in spring
Distributed Tx and Transactional File Access
To be J2EE/EJB or not?
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 04:36:56.