The attachement contains the code that enlist the JMS queue in the current transaction. Contributed by Yoann Gendre.