1 Reply Latest reply on Jun 9, 2004 4:49 PM by Elias Ross

    Redelivery Count

    osoe Newbie

      I am using JBossMQ as my provider and using <invoker-proxy-bindings> setting to define my redelivery count and time.

      During redelivery, I have to log the information about "Nth" redelivery count. it means we delivered the mesaage at the first attemp or second attempt.......

      I looked at he javax.jms.Message classs and I did not find any method.

      Thanks
      Osoe

        • 1. Re: Redelivery Count
          Elias Ross Master


          Didn't you see this in SpyMessage.java?

          61 /***
          62 * JBoss-vendor specific property for getting the count of redelivery attempts
          63 * of a message.
          64 */
          65 public static final String PROPERTY_REDELIVERY_COUNT = "JMS_JBOSS_REDELIVERY_COUNT";

          You can call
          Message.getIntegerProperty(SpyMessage.PROPERTY_REDELIVERY_COUNT);