This content has been marked as final.
Show 2 replies
-
1. Re: How to configure JMS Queue using external XML file in JBoss EAP 6.x ?
surendrand001 Sep 4, 2013 9:04 AM (in response to fabioqb)Hi,
you can do it by adding from management console Messaging->Destinations.
or in standalone.xml under
<subsystem xmlns="urn:jboss:domain:messaging:1.3">
as follows
<jms-destinations>
<jms-queue name="queueName">
<entry name="jndi-name"/>
<durable>true</durable>
</jms-queue>
<jms-destinations>
-
2. Re: How to configure JMS Queue using external XML file in JBoss EAP 6.x ?
bwallis42 Sep 6, 2013 8:59 PM (in response to fabioqb)try this,
<?xml version="1.0" encoding="UTF-8"?> <messaging-deployment xmlns="urn:jboss:messaging-deployment:1.0"> <hornetq-server> <jms-destinations> <jms-queue name="fred"> <entry name="jms/queue/fred"/> <entry name="java:jboss/exported/jms/queue/fred"/> </jms-queue> </jms-destinations> </hornetq-server> </messaging-deployment>
name it "something-jms.xml" where "something" is something descriptive, ie "fredqueue-jms.xml" and copy it to your deployments directory.
You will find some doco on this at https://docs.jboss.org/author/display/AS71/Messaging+configuration