Use UIL2ConnectionFactory, java:/ConnectionFactory or java:/JmsXA in your jboss.xmlWhich one you use depends upon whether the JMS server is remoteUIL2ConnectionFactorylocaljava:/ConnectionFactoryor you want transaction enlistment (local)java:/JmsXA

See the FAQ topic for how to configure a remote JMS providerthat enlists sessions in the transaction.