jboss 메시지 대상 설정

3140 단어 jboss
jboss 메시지 대상 설정
 
EJB Message Bean 을 사용 할 때 messaging destination 을 정의 합 니 다.다음은 예시 로 나중에 보기 편 하 다.
파일 주소:{JBOSSHOME}/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>

좋은 웹페이지 즐겨찾기