3 Replies Latest reply on May 22, 2013 11:22 AM by Serge Emmanuel Pagop

    Hard to find the client libray

    Daniel Straub Newbie

      For sending of messages from a JBoss EAP instance to a JBoss A-MQ server is a client library required.

       

      The system folder of JBoss A-MQ contains only an OSGI-Bundle activemq-osgi-5.8.0.redhat-60015.jar with the full broker.

      At least, we found a client library in the binary distribution of the standalone AMQ (without karaf) in extras/apache-activemq-5.8.0.redhat-60015-bin.tar.gz, but a easier-to-find location would be better (e.g. jboss maven repository).

       

      FYI, for clients (message sender) running in a JBoss EAP we created a module like this :

       

      <?xml version="1.0" encoding="UTF-8"?>


      <module xmlns="urn:jboss:module:1.0" name="our.company.messaging-client">

      <resources>

        <resource-root path="activemq-client-5.8.0.redhat-60015.jar"/>

      </resources>


      <dependencies>

        <module name="javax.jms.api"/>

        <module name="javax.management.j2ee.api"/>

        <module name="org.slf4j"/>

      </dependencies>

      </module>

       

      and add this as a dendency to an EAR (so we can go ahead with pure JMS in the application).

       

      Btw, a full official supported JCA resource adapter for use in an EAP instance would also be good.