Uploaded image for project: 'ServiceMix'
  1. ServiceMix
  2. SM-748

Restart of ServiceUnits using PollingEndpoints fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 3.1
    • 3.1
    • servicemix-common
    • None
    • ServiceMix 3.1-SNAPSHOT, JBoss 4.0.4.GA

    • Patch Available

    Description

      When an PollingEndpoint (for example FilePollingEndpoint) is stopped and restarted, the poll() method is never called again, because the service unit's executor has been shut down in the PollingEndpoint.stop() method.

      FIX:
      Just removing line 138 "executor.shutdown()" helped for me, but I'm not quite sure, if there are any caveats about it.

      Regards,

      Frank

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: