Announcement Announcement Module
Collapse
No announcement yet.
JMS Transaction demarcation Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • JMS Transaction demarcation

    Hi,

    Thank you to the Spring team for the great job they've been doing !!

    I would like to demarcate JMS Transactions using Spring declarative AOP-like declarative transactions.

    However, the Spring manual doesnt make it explicit whether it's doable, since it only mentions JDBC, Hibernate etc..

    Thanks a lot,
    Sami Dalouche

  • #2
    Sami.

    The TransactionProxyFactoryBean that creates transactional AOP proxies delegates to an implementation of PlatformTransactionManager to handle the actual transaction logic. One of the implementations of PTM supplied out of the box is JmsPlatformTransactionManager. To use JMS transactions in a declarative fashion, simply configure your TPFB with an instance of JmsPTM and then use JmsTemplate in your JMS code.

    Rob

    Comment

    Working...
    X