1 2 Previous Next 29 Replies Latest reply on Feb 18, 2011 5:16 AM by jaikiran pai

    onMessage method does not receive message

    just lee Newbie

      First I am using JBoss 6.0.0.Final.


      Is there any other things that I need to do?

      I configured following in my MDB


      @MessageDriven(activationConfig =


              @ActivationConfigProperty(propertyName = "destination", propertyValue = "queue/com.globalsight.everest.jms.WorkflowAdditions"),

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

              @ActivationConfigProperty(propertyName = "subscriptionDurability", propertyValue = "Durable")})


      and added below queue into hornetq-jms.xml

      <queue name="WorkflowAdditions">

          <entry name="queue/com.globalsight.everest.jms.WorkflowAdditions"/>



      JBoss started correctly BUT after jms sends the messge, the onMessage method does not receive the messge in. Note: I have removed ejb-jar.xml and jboss.xml for these ejb configurations (only for MDB)


      Please advise.

        1 2 Previous Next