We Recommend

Java How to Program Java How to Program
Takes a new tools-based approach to Web application development that uses Netbeans 5.5 and Java Studio Creator 2 to create and consume Web Services. Features new AJAX-enabled, Web applications built with JavaServer Faces (JSF), Java Studio Creator 2 and the Java Blueprints AJAX Components. Includes new topics throughout, such as JDBC 4, SwingWorker for multithreaded GUIs, GroupLayout, Java Desktop Integration Components (JDIC), and much more.


Posted By

narkisr on 01/28/08


Tagged

JBoss JMS Queue


Versions (?)


Simple JBoss JMS Queue configutation


Published in: Java 


This is the MBean deceleration of a JMS Queue definition which can be embedded within jboss-service.xml that belogs to a Sar or to any other file which ends with service.xml and is picked up by JBoss


  1. <?xml version="1.0" encoding="UTF-8"?>
  2.  
  3. <server>
  4. <mbean code="org.jboss.mq.server.jmx.Queue" name="jboss.mq.destination:service=Queue,name=DummyQueue">
  5. <attribute name="MaxDepth">10000</attribute>
  6. <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
  7. <attribute name="InMemory">true</attribute>
  8. </mbean>
  9. </server>

Report this snippet 

You need to login to post a comment.