Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-2420

The message expiry notification is not received

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • AMQ 7.2.2.GA
    • None
    • +
    • ARTEMIS-2300
    • Verified in a release
    • Hide

      1. Add the following configuration in the broker.xml:

      <broker-plugins>
         <broker-plugin class-name="org.apache.activemq.artemis.core.server.plugin.impl.NotificationActiveMQServerPlugin">
            <property key="SEND_EXPIRED_NOTIFICATIONS" value="true" />
         </broker-plugin>
      </broker-plugins>
      

      2. Create a consumer for activemq.notifications

      3. Send a message to a regular queue with JMSExpiration.

      What happens:

      No notification for message expiry is received by the consumer.

      Expectation:

      A message containing the details of the expired message should be received by the consumer of activemq.notifications.

      Show
      1. Add the following configuration in the broker.xml: <broker-plugins> <broker-plugin class-name= "org.apache.activemq.artemis.core.server.plugin.impl.NotificationActiveMQServerPlugin" > <property key= "SEND_EXPIRED_NOTIFICATIONS" value= "true" /> </broker-plugin> </broker-plugins> 2. Create a consumer for activemq.notifications 3. Send a message to a regular queue with JMSExpiration. What happens: No notification for message expiry is received by the consumer. Expectation: A message containing the details of the expired message should be received by the consumer of activemq.notifications.

      The activemq.notification's consumer does not receive the message expiry notification despite having the proper configuration in broker.xml as mention here [1]

      <broker-plugins>
         <broker-plugin class-name="org.apache.activemq.artemis.core.server.plugin.impl.NotificationActiveMQServerPlugin">
            <property key="SEND_EXPIRED_NOTIFICATIONS" value="true" />
      
         </broker-plugin>
      </broker-plugins>
      
      

              rh-ee-ataylor Andy Taylor
              rhn-support-adongre Avinash Dongre
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: