1 Reply Latest reply on Feb 19, 2009 2:18 PM by Fernando Franceschi

    creating a private DLQ and redirect from a queue

    Fernando Franceschi Newbie

      My Enviroment:
      JVM : 1.6.0_05 JRockit
      JBoss AS : 4.2.1
      JBoss Messaging: 1.4.2

      Hi all,

      I have a queue named SumusTicketQueue. When the message failed, the Jboss messaging redirect this message to DLQ. How I do the Jboss message redirect this message to my private DLQ (SumusTicketDLQ)?

      My destinations-service.xml

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

      Thx
      Fernando Franceschi