• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Is this a distributed transaction

 
Rahul Mahindrakar
Ranch Hand
Posts: 1868
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

 
Luan Cestari
Ranch Hand
Posts: 163
C++ Redhat Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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)
 
Winston Gutkowski
Bartender
Pie
Posts: 10091
56
Eclipse IDE Hibernate Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic