How to inject destinations in JBoss-EAP-6 message driven beans

Solution Unverified - Updated -

Issue

JMS and injection. I am converting from glassfish. Trying to figure out how I would set up JMS ConnectionFactory, Queue and Topic resources in the app server such that I can have them injected into my classes (using the @Resource annotation). All the examples I've seen including those in the jboss-eap-6.2.0-quickstarts.zip use JNDI context lookups. The documentation is quite sparce on how to create topics and queue's within EAP 6.2

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content