JMS set up on EAP 7 getting missing dependepcy
Issue
- I have configured JMS in the standalone-full.xml as follows but my MDB cannot access the configured connection factory. Could you please explain how to perform this configuration?
Server configuration:
<pooled-connection-factory name="activemq-ra" transaction="xa" entries="java:/jms/JmsXA java:jboss/DefaultJMSConnectionFactory" connectors="in-vm"/>
MDB code:
@Resource(lookup="jms/JmsXA")
private ConnectionFactory connectionFactory;
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
