配置jboss messaging destination

配置jboss messaging destination

 

当使用EJB Message Bean时会定义messaging destination。下面是一示例,方便以后查看。

文件地址:{JBOSS_HOME}/server/mycis1/deploy/jboss-messaging.sar/destinations-service.xml

<!--New RDS engine config-->
   <mbean code="org.jboss.jms.server.destination.TopicService"
      name="jboss.messaging.destination:service=Queue,name=xxx/biz2/rds/jms/ConsoleTopic"
      xmbean-dd="xmdesc/Topic-xmbean.xml">
      <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
      <depends>jboss.messaging:service=PostOffice</depends>
      <attribute name="RedeliveryDelay">5000</attribute>
      <attribute name="JNDIName">topic/xxx/biz2/rds/jms/ConsoleTopic</attribute>
      <attribute name="Clustered">true</attribute>
   </mbean>    
   
   <mbean code="org.jboss.jms.server.destination.QueueService"
      name="jboss.messaging.destination:service=Queue,name=xxx/biz2/rds/jms/MailQueue"
      xmbean-dd="xmdesc/Queue-xmbean.xml">
      <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
      <depends>jboss.messaging:service=PostOffice</depends>
      <attribute name="RedeliveryDelay">5000</attribute>
      <attribute name="JNDIName">queue/xxx/biz2/rds/jms/MailQueue</attribute>
      <attribute name="Clustered">true</attribute>
   </mbean>     
   
   <mbean code="org.jboss.jms.server.destination.QueueService"
      name="jboss.messaging.destination:service=Queue,name=xxx/biz2/rds/jms/DeliveryQueue"
      xmbean-dd="xmdesc/Queue-xmbean.xml">
      <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
      <depends>jboss.messaging:service=PostOffice</depends>
      <attribute name="RedeliveryDelay">5000</attribute>
      <attribute name="JNDIName">queue/xxx/biz2/rds/jms/DeliveryQueue</attribute>
      <attribute name="Clustered">true</attribute>
   </mbean>     
   
   <mbean code="org.jboss.jms.server.destination.QueueService"
      name="jboss.messaging.destination:service=Queue,name=xxx/biz2/rds/jms/GeneratorQueue"
      xmbean-dd="xmdesc/Queue-xmbean.xml">
      <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
      <depends>jboss.messaging:service=PostOffice</depends>
      <attribute name="JNDIName">queue/xxx/biz2/rds/jms/GeneratorQueue</attribute>
      <attribute name="Clustered">true</attribute>
  </mbean>

 

你可能感兴趣的:(jboss)