Hi all, I'm trying to write a JCA based on the 1.5 spec. I'm trying to follow Hiram's advice for developing a resource adapter for MQSeries with XA capabilities.
Instead of using session.run() to read the messages, I'm creating an infinite loop for polling a queue (JMS) with consumer.receive(tx timeout) Using this procedure, I'm able to start a transaction. This is developed using the work management contract. The problems that I'm having are: - When I shutdown JBoss, the MDB is never finishing the undeployment. - After reading the message when I'm trying to write the message to another queue, it never finishes creating the session connection.createQueueSession (responseTransacted, QueueSession.AUTO_ACKNOWLEDGE); I would like to know if this is a good approach. TIA Felipe View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3880372#3880372 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3880372 ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
