Uploaded image for project: 'ServiceMix NMR'
  1. ServiceMix NMR
  2. SMX4NMR-24

Lifecycle / clean shutdown for service assemblies deployed with the OSGi packaging

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0.0-m3
    • Labels:
      None

      Description

      We need to find a way to provide a clean shutdown of the NMR without loosing any messages.
      This means that Binding Components must stop accepting new requets (http, jms, etc..) while the pending messages are still be processed. When all messages have been processed, all components / endpoints can be shutdown.

      Maybe we need to add a method on the Endpoint interface like pause() / resume() that would only affect BC consumers and would inform them to stop consuming messages.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gnt Guillaume Nodet
                Reporter:
                gnt Guillaume Nodet
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: