Uploaded image for project: 'ServiceMix Components'
  1. ServiceMix Components
  2. SMXCOMP-260

Change endpoints lifecycle to use activate / start / stop / deactivate

    XMLWordPrintableJSON

Details

    Description

      Change servicemix-common in the following way:

      • refactor the existing start / stop method into init / shutdown (along with the doStart and doStop methods)
      • add new start / stop methods with empty implementation in the Endpoint class
      • use these new init / start / stop / shutdown lifecycle in the service unit
      • implement start / stop for the polling endpoints
      • implement start / stop for the jms consumer endpoint (it should start / stop the listener container)
      • implement start / stop for the http consumer (a stopped endpoint should return an 503 Service Unavailable http status code)

      Attachments

        Issue Links

          Activity

            People

              gnodet Guillaume Nodet
              gnodet Guillaume Nodet
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: