Do you need robust and scalable Java messaging within JBoss? If so, then you should consider embedding Apache ActiveMQ in JBoss and there's a guide on the LogicBlaze DevZone that explains how to do it. Integrating Apache ActiveMQ with JBoss walks through the steps of configuring the ActiveMQ resource adapter to be hooked into the JBoss lifecycle. It explains all the necessary configuration changes for this to take place and also explains a bit about and provides pointers to info about J2EE Connector Architecture resource adapters. Check it out.