Skip to content

Instantly share code, notes, and snippets.

@joshgontijo
Last active August 29, 2015 13:56
Show Gist options
  • Select an option

  • Save joshgontijo/8983281 to your computer and use it in GitHub Desktop.

Select an option

Save joshgontijo/8983281 to your computer and use it in GitHub Desktop.
JBoss deployable JMS Queue
<?xml version="1.0" encoding="UTF-8"?>
<!-- create a xxx-jms.xml file and put it under META-INF (for ear) or WEB-INF(for war) -->
<messaging-deployment xmlns="urn:jboss:messaging-deployment:1.0">
<hornetq-server>
<jms-destinations>
<jms-queue name="myqueue">
<entry name="jms/queue/myqueue"/>
<entry name="java:jboss/exported/jms/queue/myqueue"/>
</jms-queue>
</jms-destinations>
</hornetq-server>
</messaging-deployment>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment