No problem - hope it helps. I have seen the JBMSpringJMSTemplateNotes wiki and we are only sending messages using the JCA factory so I think that's ok.
However we also use Spring to receive messages. (We were originally using their DefaultMessageListenerContainer but turned out to be SLOW -- as I notice you've mentioned on previous occassions). So we started using their SimpleMessageListenerContainer which registers a MessageListener on a MessageConsumer. However the problem with this is that messages seem to be getting acknowleged in spite of failure (setRollbackOnly called) and no redelivery is occurring. Looking at the JBoss Messaging source, SessionAspect.handlePostDeliver() calls isXAAndConsideredNonTransacted() which returns true because the SessionState's treatAsNonTransactedWhenNotEnlisted is set to true. Is the solution to somehow to set treatAsNonTransactedWhenNotEnlisted to false? What does an MDB container do here? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104445#4104445 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104445 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
