Table of Contents

Search

  1. Preface
  2. Introduction to High Availability
  3. Set Up the High Availability Environment
  4. Set Up a High Availability Cluster on Windows
  5. Steps to Setting Up a High Availability Cluster in Linux
  6. Optional High Availability Configuration
  7. Troubleshooting High Availability
  8. High Availability Log Messages
  9. Port Number Reference
  10. Glossary

High Availability Installation Guide

High Availability Installation Guide

Configuring Redelivery Plugins

Configuring Redelivery Plugins

Configure properties for redelivery plugins to enable JMS discovery in the high availability cluster.
  1. In the
    activemq.xml
    configuration file, locate the
    <broker ...>
    element. Inside the
    <broker ...>
    element, add the attribute
    schedulerSupport="true"
    .
  2. Nest the following syntax lines underneath the
    <broker>
    element:
    <plugins> <redeliveryPlugin fallbackToDeadLetter="true" sendToDlqIfMaxRetriesExceeded="true"> <redeliveryPolicyMap> <redeliveryPolicyMap> <redeliveryPolicyEntries> <!-- a destination specific policy --> <redeliveryPolicy queue="SpecialQueue" maximumRedeliveries="4" redeliveryDelay="10000"/> </redeliveryPolicyEntries> <!-- the fallback policy for all other destinations --> <defaultEntry> <redeliveryPolicy maximumRedeliveries="10" initialRedeliveryDelay="1000" redeliveryDelay="1000"/> </defaultEntry> </redeliveryPolicyMap> </redeliveryPolicyMap> </redeliveryPlugin> </plugins>

0 COMMENTS

We’d like to hear from you!