Results 1 to 2 of 2

Thread: DefaultMessageListenerContainer and transactions...

Hybrid View

  1. #1
    Join Date
    Aug 2006
    Posts
    26

    Default DefaultMessageListenerContainer and transactions...

    hi all,
    is sessionTransacted property required if I need to make onmessage
    transactional?

    <bean id="listenerContainer" class="org.springframework.jms.listener.DefaultMes sageListenerContainer">
    <!-- <property name="sessionTransacted" value="true" /> -->
    <property name="transactionManager" ref="transactionManager"/>

    in my case it becomes transactional only if I set sessionTransacted to true.
    I use geronimo and I get jmsconnectionfactory via jndi.

    thanks.

  2. #2
    Join Date
    Jan 2008
    Location
    San Diego
    Posts
    780

    Default

    Yeah, atomikos is the same way. We have sessiontransacted set to true and we have the transaction manager set.

Posting Permissions

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