ServiceMix
  1. ServiceMix
  2. SM-748

Restart of ServiceUnits using PollingEndpoints fails

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: 3.1
    • Component/s: servicemix-common
    • Labels:
      None
    • Environment:

      ServiceMix 3.1-SNAPSHOT, JBoss 4.0.4.GA

    • Patch Info:
      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

        Activity

        Jeff Turner made changes -
        Project Import Sat Nov 27 00:46:19 EST 2010 [ 1290836779991 ]
        Guillaume Nodet made changes -
        Field Original Value New Value
        Resolution Fixed [ 1 ]
        Assignee Guillaume Nodet [ gnt ]
        Status Open [ 1 ] Resolved [ 5 ]
        Frank Trietsch created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development