Does the ActiveMQ broker's <redeliveryPlugin> also work for topics?

Solution Verified - Updated -

Issue

  • Can the ActiveMQ broker's <redeliveryPlugin> also be used to configure redelivery for topic messages?
  • When using the broker's <redeliveryPlugin> with topic messages, redelivery does not seem to work.
  • When using the broker's <redeliveryPlugin> with topic messages the broker raises

    08:54:08,441 | WARN  | JobScheduler:JMS | MessageDatabase                  | 219 - org.apache.activemq.activemq-osgi - 5.11.0.redhat-630356 | Duplicate message add attempt rejected. Destination: TOPIC://TEST, Message id: ID:4e1f1a4ac494-41427-1540370528110-9:1:1:1:1
    
    08:54:08,446 | WARN  | JobScheduler:JMS | AbstractStoreCursor              | 219 - org.apache.activemq.activemq-osgi - 5.11.0.redhat-630356 | TopicStorePrefetch(clientId1,clientId1,storeHasMessages=true) ID:Mac.fritz.box-49842-1540370839555-1:1:1:1 - org.apache.activemq.broker.region.cursors.TopicStorePrefetch@52c9b1ae:TEST,batchResetNeeded=false,size=0,cacheEnabled=true,maxBatchSize:200,hasSpace:true,pendingCachedIds.size:0,lastSyncCachedId:ID:4e1f1a4ac494-41427-1540370528110-9:1:1:1:1,lastSyncCachedId-seq:
    

Environment

  • JBoss A-MQ 6.3
  • use of the broker's <redeliveryPlugin>
  • consumers are configured with jms.redeliveryPolicy.maximumRedeliveries=0
  • topic messages

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content