Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-8760

Override ShutdownStrategy in Syslogd, Trapd Camel contexts

    XMLWordPrintable

    Details

      Description

      We are not overriding the ShutdownStrategy in the syslog and trap contexts which means that they will use the default 300 second (5 minute) timeout when in-flight messages are still present in the Camel queues.

      This causes problems if syslog and trap messages are received shortly after startup (which is likely) because Karaf is refreshing the Camel contexts. If a refresh happens, the context must be shutdown and restarted and the shutdown can experience the 5 minute timeout. This makes Minion startup take minutes and may cause Karaf feature install timeouts.

      We need to override the default ShutdownStrategy with a strategy that uses reduced timeout values.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cgorantla Chandra Gorantla
                Reporter:
                seth Seth Leger
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: