10 Replies Latest reply on Jan 12, 2010 9:55 AM by Pieter Martin

    MDB not firing after upgrade to 2.0.0.CR3

    Pieter Martin Novice

      Hi,

       

      I have been running hornerq 2.0.0.BETA5 on jboss 5 with seam 2.2.0 and all was ok.

      Today I upgraded to 2.0.0.CR3 and alas now my MDBs are not firing.

       

      I noticed that hornetq-jms.xml has changed somewhat.

       

      My MDB

       

      @MessageDriven(name = "NotificationServiceAlarmMDB", activationConfig = {

      @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue"),

      @ActivationConfigProperty(propertyName = "destination", propertyValue = "queue/AlarmQueue") })

      @Name("notificationServiceMDB")

      @TransactionManagement(TransactionManagementType.BEAN)

      public class NotificationServiceAlarmMDB implements MessageListener {

      ...

      }

       

       

      hornetq-jms.xml I added the following

       

      <queue name="TextQueue">

            <entry name="/queue/TextQueue"/>

         </queue>

       

         <queue name="AlarmForwardQueue">

            <entry name="/queue/AlarmForwardQueue"/>

         </queue>

       

         <queue name="AlarmQueue">

            <entry name="/queue/AlarmQueue"/>

         </queue>

       

         <queue name="AlarmDefinitionQueue">

            <entry name="/queue/AlarmDefinitionQueue"/>

         </queue>

       

      Sending the message to the queue is working fine.

       

      Any ideas as to what can be wrong?

       

      Thanks

      Pieter