2 Replies Latest reply on Sep 10, 2010 2:08 PM by rafael_morelo

    Messages are not consumed after a certain period

    rafael_morelo

      For some reason, after some time the messages stop being consumed by the consumer (MDB) and only after you re-deploy the queue, messages are consumed, but also by a certain time.

       

      Version:

      JBoss 5.1.0.GA

      Hornetq-2.1.1.Final

       

      Here are some settings below:

       

      @MessageDriven(activationConfig = {

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

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

              @ActivationConfigProperty(propertyName = "messageSelector", propertyValue = "idtInscriptionTransaction='1'"),

              @ActivationConfigProperty(propertyName = "acknowledgeMode", propertyValue = "Auto-acknowledge") }) @TransactionManagement(value = TransactionManagementType.CONTAINER)

      @TransactionAttribute(value = TransactionAttributeType.REQUIRED)

      @ResourceAdapter("hornetq-ra.rar")

      public class InscriptionPlataformNotificationConsumerMDB implements javax.jms.MessageListener {

       

      Erro log:

      2010-09-10 13:55:30,545 WARN  [com.arjuna.ats.jta.logging.loggerI18N] (Thread-10) [com.arjuna.ats.internal.jta.resources.arjunacore.norecoveryxa] [com.arjuna.ats.internal.jta.resources.arjunacore.norecoveryxa] Could not find new XAResource to use for recovering non-serializable XAResource < 131075, 28, 26, 49454551102535555101535058100525053585299569752555757581029745511025355551015350581005250535852995697525557575810298 >