Have you taken a look at the ActiveMQ Artemis documentation [1] on this
subject?


Justin

[1] https://activemq.apache.org/artemis/docs/latest/using-jms.html (scroll
down to the "JNDI" section)

On Tue, Mar 12, 2019 at 9:42 PM Peter Chandler <pech...@sandia.gov> wrote:

> Trying to configure log4j2 JMS Appender for activemq-artemis which uses
> JNDI
> for the connection factory and destinations.
> Questions
> 1. How do I populate activemq-artemis's JNDI Service with the required
> Objects?
> 2. What names do I use in the Log4j2.xml?
>
>          <JMS name="jmsQueue"
>
>
> <b>factoryName*="org.apache.activemq.artemis.jndi.ActiveMQInitialContextFactory"
>              *factoryBindingName*=*"ConnectionFactory"*
>              providerURL="tcp://localhost:61616"
>              *destinationBindingName* =*"jmsTest"*
>              userName="xxx"
>              password="xxx" >
>             <JSONLayout compact="false" eventEol="true"/>
>         </JMS>
>
>
>
> --
> Sent from:
> http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html
>

Reply via email to