1 Reply Latest reply on Aug 29, 2010 3:49 AM by jaikiran

    Switching from JBossMQ to HornetQ

    lafr

      Up to now I used JBoss 4.2x with JBossMQ.

      To add additional queues we put a new file, for example mbi345-jbossmq-service.xml, into the deploy directory with this content:

      <?xml version="1.0" encoding="UTF-8"?>
      <server>
        <mbean code="org.jboss.mq.server.jmx.Queue" name="jboss.mq.destination:service=Queue,name=mbi345/MessageDistributorQueue">
          <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
        </mbean>
        <mbean code="org.jboss.mq.server.jmx.Queue" name="jboss.mq.destination:service=Queue,name=mbi345/SalesOrderImportQueue">
          <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
        </mbean>
      </server>

      One jbossmq-service.xml for each application instance (ear file).


      How to add additional Queues in seperate files when using JBossAS-6.0 which includes HornetQ?


      With hornetq-queues.xml it seems to be possible to add queues, but there can only be one.