This article explains how to use ActiveMQ with jBoss AS 7.
https://community.jboss.org/wiki/IntegrationOfJBossAS7WithActiveMQ
In that article, it says:
So I want to know if I can use Nightly 8.x builds with switchyard.
I gave it a shot, and setup the 8.x server. And tried one of my JMS based samples.
I think HornetQ mix-in is specific to switchyard, and won't be available in the default AS.
Because of that, I get this exception on the client, when I try to send a message to the queue:
java.lang.RuntimeException: javax.jms.JMSException: Failed to create session factory
at org.switchyard.component.test.mixins.hornetq.HornetQMixIn.createJMSSession(HornetQMixIn.java:361)
at com.example.switchyard.episode9_hornetq_test4.HornetQClientTest.main(HornetQClientTest.java:93)
at com.example.switchyard.episode9_hornetq_test4.HornetQClientTest.defaultExecute(HornetQClientTest.java:106)
at com.example.switchyard.episode9_hornetq_test4.HornetQClientTest.main(HornetQClientTest.java:86)
Caused by: javax.jms.JMSException: Failed to create session factory
at org.hornetq.jms.client.HornetQConnectionFactory.createConnectionInternal(HornetQConnectionFactory.java:605)
at org.hornetq.jms.client.HornetQConnectionFactory.createConnection(HornetQConnectionFactory.java:119)
at org.switchyard.component.test.mixins.hornetq.HornetQMixIn.createJMSSession(HornetQMixIn.java:355)
SwitchYard 1.0 and prior releases are targeted at AS 7.x. There has been no testing or attempt to integrate with 8.x at this time. It may work with some tinkering, it may not.