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

JCA Work - Long running Work methods are going to cause problems....

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 2.0.2
    • None
    • None
    • None

    Description

      See also IRC (12/12). There appear to be a general assumption that the scheduled Work instances are going to complete very quickly. If they do then all may seem OK.

      But slow Work could cause lots of problems. For example, FTPPoller looks buggy - if a 2nd poll occurs before a 1st poll completes then it is going to go bananas and reprocess and attempt the same file again in parallel.

      There seems a general problem with ALL the servicemix usage of the WorkManager Work - ie in general there seem no way to interrupt long runnng Work processing. This is releated to writing proper Work.release() methods as well as potential shutdown issues.

      Attachments

        Activity

          People

            Unassigned Unassigned
            peters Peter Samuelson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: