Results 1 to 2 of 2

Thread: JMS Transaction demarcation

  1. #1

    Default 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. #2
    Join Date
    Aug 2004
    Location
    Southampton, UK
    Posts
    826

    Default

    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
    Rob Harrop
    Lead Engineer, dm Server
    SpringSource
    http://www.springsource.com

    Co-Author - Pro Spring

Similar Threads

  1. Unit testing with JOTM and JtaTransactionManager
    By lalle in forum Architecture
    Replies: 1
    Last Post: Oct 15th, 2005, 09:05 AM
  2. Replies: 0
    Last Post: Jun 6th, 2005, 06:22 AM
  3. Replies: 3
    Last Post: May 16th, 2005, 07:04 AM
  4. Replies: 3
    Last Post: Nov 19th, 2004, 07:16 PM
  5. Transaction pb Hibernate/MySQL
    By syluser in forum Data
    Replies: 2
    Last Post: Aug 28th, 2004, 02:40 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •