WildFly ActiveMQ-Based Messaging Subsystem Concepts: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
=Internal=
=Internal=


* [[WildFly Messaging Subsystem#Subjects|WildFly Messaging Subsystem]]
* [[WildFly ActiveMQ-Based Messaging Subsystem#Subjects|WildFly ActiveMQ-Based Messaging Subsystem]]


=Overview=
=Overview=
Line 9: Line 9:
=Generic JMS Client with ActiveMQ=
=Generic JMS Client with ActiveMQ=


Also see:
{{Internal|Generic JMS Client with EAP/ActiveMQ|Generic JMS Client with EAP/ActiveMQ}}


{{Internal|WildFly_HornetQ-Based_Messaging_Subsystem_Concepts#Generic_JMS_Client_with_HornetQ|Generic JMS Client with HornetQ}}
=Resource Adapter=


The ActiveMQ JMS provider is exposed as a resource adapter to the applications deployed within the application server. The relevant configuration is:


==Classpath==
<pre>
<subsystem xmlns="urn:jboss:domain:messaging-activemq:...">
    <server name="default">
        <pooled-connection-factory name="activemq-ra" transaction="xa" connectors="in-vm" entries="java:/JmsXA java:jboss/DefaultJMSConnectionFactory"/>
    </server>
</subsystem>
</pre>

Latest revision as of 02:17, 18 March 2017

Internal

Overview

Applies to EAP 7.* and newer.

Generic JMS Client with ActiveMQ

Generic JMS Client with EAP/ActiveMQ

Resource Adapter

The ActiveMQ JMS provider is exposed as a resource adapter to the applications deployed within the application server. The relevant configuration is:

<subsystem xmlns="urn:jboss:domain:messaging-activemq:...">
    <server name="default">
        <pooled-connection-factory name="activemq-ra" transaction="xa" connectors="in-vm" entries="java:/JmsXA java:jboss/DefaultJMSConnectionFactory"/>
    </server>
</subsystem>