Hi all ! I'm trying to take a look at jencks + xa + spring. I have several problems and like to have guidance :
* the xa transaction that is started / commited by jencks is in no way related to spring transaction layer so that there is no way to use the existing transaction with spring. To solve this, i was thinking of adding a spring PlatformTransactionManager on the JCAConnector and maybe a SpringEndpoint * in a non-managed environment (using xa with jotm or geronimo tx manager), there is no automatic enlistement of jms sessions in spring so that using xa + jms in spring must be done manually. It should be pretty straightforward to implement a proxy around the connection factory to do this. Is there any reason why this has not been done in spring or elsewhere ? * i saw the org.activemq.ra.jms.ConnectionProxyFactory, to reuse the same jms session, but it relies on the fact that the invoked bean has received a message from the activemq resource adapter. Why does the spring jms layer does not bind the session and reuse it when inside the same xa transaction ? * the org.activemq.pool package can not be used with ActiveMQXAConnectionFactory because it tries to rollback transactions and exceptions are thrown : is this a bug ?
Any hints ? Guillaume Nodet
