Advertise with us

Search Mastertheboss

Our eBooks

How do I configure a Queue/Topic to work in a cluster?

 
JBoss AS 5
Just set the Clustered attribute to "true" in your Queue/Topic definition. Here's a Queue example: 

 <mbean code="org.jboss.jms.server.destination.QueueService"
      name="jboss.messaging.destination:service=Queue,name=SampleQueue"
      xmbean-dd="xmdesc/Queue-xmbean.xml">
      <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
      <depends>jboss.messaging:service=PostOffice</depends>
      <attribute name="Clustered">true</attribute>

   </mbean>

© 2020 mastertheboss.com. All Rights Reserved.

Please publish modules in offcanvas position.