-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to configure ActiveMQ resource adapter #381
Comments
I think we can load the RA without exploding the entire archive. Thanks for identifying that the documentation needs improving in this area. As a workaround for the current release you could try this:
<?xml version="1.0" encoding="UTF-8"?>
<module xmlns="urn:jboss:module:1.1" name="org.apache.activemq">
<resources>
<resource-root path="." />
<resource-root path="activemq-broker-5.10.0.jar" />
<resource-root path="activemq-client-5.10.0.jar" />
<resource-root path="activemq-jms-pool-5.10.0.jar" />
<resource-root path="activemq-kahadb-store-5.10.0.jar" />
<resource-root path="activemq-openwire-legacy-5.10.0.jar" />
<resource-root path="activemq-pool-5.10.0.jar" />
<resource-root path="activemq-protobuf-1.1.jar" />
<resource-root path="activemq-ra-5.10.0.jar" />
<resource-root path="activemq-rar-5.10.0.rar" />
<resource-root path="activemq-spring-5.10.0.jar" />
</resources>
<dependencies>
<module name="javax.api" />
<module name="javax.jms.api" export="true" />
<module name="javax.management.j2ee.api" export="true" />
<module name="javax.resource.api" export="true" />
<module name="javax.transaction.api" export="true" />
<module name="org.apache.commons.pool" />
<module name="org.apache.log4j" />
<module name="org.apache.xbean.spring" />
<module name="org.apache.camel.component.mqtt" />
<module name="org.slf4j" />
<module name="org.springframework.context" />
<module name="org.springframework.core" />
</dependencies>
</module> You can modify META-INF/ra.xml and broker-config.xml for your requirements. This should be enough to load the RA. |
@jamesnetherton thanks for providing the work around. It solved the problem and am now able to configure a resource adapter using the wildfly-camel active-mq module. |
Closing - Documentation updated to explain this in more detail. |
Wildfly Version: 8.2.0.Final
Wildfly-Camel Version: 2.1.0
I am attempting to configure a resource adapter for ActiveMQ as per the recommendation in the Wildfly-Camel documentation
Below is the configuration I have used as per https://developer.jboss.org/wiki/HowToUseOutOfProcessActiveMQWithWildFly
I currently get the following error:
I believe this may be caused by the active-mq module bundling the unexploded RAR file instead of an exploded RAR file.
The text was updated successfully, but these errors were encountered: