So far I’ve got this. <subsystem xmlns="urn:jboss:domain:resource-adapters:5.0"> <resource-adapters> <resource-adapter archive=“AMQ"> <transaction-support>XATransaction</transaction-support> <archive>artemis-ra.rar</archive> <connection-definitions> <connection-definition class-name=“org.apache.activemq.artemis.ra.ArtemisRAConnectionFactory" jndi-name="java:/jms/RemoteConnectionFactory” enabled="true" use-java-context="true" pool-name="ArtemisConnectionFactory"> <config-property name="ConnectionParameters">host=master-broker-host;port=61616,host=slave-broker-host;port=61616</config-property> <config-property name="ConnectorClassName">org.apache.activemq.artemis.core.remoting.impl.netty.NettyConnectorFactory</config-property> <config-property name="ProtocolManagerFactoryStr">org.apache.activemq.artemis.core.protocol.core.CoreProtocolManagerFactory</config-property> <config-property name=“HA”>true</config-property> </connection-definition> </connection-definitions> <admin-objects> <admin-object class-name="org.apache.activemq.artemis.ra.ArtemisRAQueue" jndi-name="java:/jms/queue/testQueue" use-java-context="true" pool-name="testQueue"> <config-property name="PhysicalName">testQueue</config-property> </admin-object> </admin-objects> </resource-adapter> </resource-adapters> </subsystem>
The broker I am connecting two runs in master/slave mode that’s why I put both of them into the ConnectionParameters config property. Also I enabled the HA functionality. I tried to also define config-property KeyStorePath, KeyStorePassword, TrustStorePath and TrustStorePassword but adding these properties only ended up in error saying it’s an unknown property. Martin > On 11. 11. 2024, at 16:27, Justin Bertram <jbert...@apache.org> wrote: > > Can you provide more details on the exact configuration you're attempting > to use in WildFly? > > > Justin > > On Sat, Nov 9, 2024 at 5:18 PM Martin Czakó <mncz...@gmail.com> wrote: > >> Hi, >> >> I am trying to deploy the Artemis resource adapter (artemis-rar.rar) on my >> Wildfly application server and I want to use keystore and truststore as >> authentication to the broker I am connecting to. >> >> I tried specifing KeyStorePath, KeyStorePassword (the same for truststore) >> as config-property for the connection but that just threw an error saying >> the property is not supported. >> >> Could anybody help me with this? >> >> Thanks >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@activemq.apache.org >> For additional commands, e-mail: users-h...@activemq.apache.org >> For further information, visit: https://activemq.apache.org/contact >> >> >> --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@activemq.apache.org For additional commands, e-mail: users-h...@activemq.apache.org For further information, visit: https://activemq.apache.org/contact