How to send and subscribe messages to a queue in remote JBoss EAP instance with EJB2

Solution In Progress - Updated -

Issue

  • How do I setup pooled-connection-factory to subscribe a queue on remote JBoss EAP instance?
  • The code example of producer and consumer in the product documentation(Configuring Messaging) are only covered EJB3. What should @org.jboss.ejb3.annotation.ResourceAdapter be replaced with for EJB2?
  • How do I lookup remote queue in producer and consumer applications?

Environment

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

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