Atomikos Forum

atomikosConnectionFactoryBean creates a transaction

Hi

I have a MessageDrivenContainer bean with AtomikosConnectionFactoryBean bean injected into it.  In JConsole, I have observed that there is always a transaction even when I have not sent any data into the jms queue.

The following is the output in the "HeuristicMessages":
ReadOnlyParticipant
XA resource 'amq1' accessed with Xid '332E32382E35362E33352E746D30313235353030303031:332E32382E35362E33352E746D31323336'
null


Can anyone explain why there is this transaction at all?

thanks

Sonam
sonam Send private email
Tuesday, June 29, 2010
 
 
Hi,

The required behavior for transactional JMS is:

1-create transaction
2-check/receive message
3-commit transaction

Hence we always create a transaction (1) before we check for messages.

HTH
Guy Pardon Send private email
Monday, July 05, 2010
 
 
Would this "ReadOnlyParticipant" transaction impact Hibernate from participating in a current transaction to write to a database?

thanks

Sonam
sonam Send private email
Wednesday, July 07, 2010
 
 

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics