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

Option for synchronous sending of message exchanges for the servicemix-vfs polling endpoint

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • servicemix-vfs-2009.02
    • servicemix-vfs-2009.02
    • servicemix-vfs
    • None
    • Windows XP, service pack 3
      Servicemix 4.0, Kernel 1.1.0

    • Patch Available

    Description

      Under certain conditions a user of the VFSPollingEndpoint may need to guarantee that the endpoint will only send one message exchange at a time, regardless of how many files it has polled, or the number of threads that the ExecutorImpl instance has been configured with. An example of this is when the polling endpoint must deliver files in a specific order, and there cannot be any risk of out-of-order exchanges being sent. The user of the endpoint should be allowed to set the option of having exchanges sent in a concurrent or sequential fashion by the normal setter methods.

      I've modified and tested the servicemix-vfs-2009.02-SNAPSHOT to support asynchronous(concurrent) or synchronous exchange sending. I have performed minor testing of these changes and they appear to work as expected. The patch is included. By default exchanges are sent asynchronously as before. If these changes are acceptable the xml schema for servicemix-vfs should probably also be changed to expose the new setter.

      Attachments

        1. concurrent-exchange.txt
          4 kB
          Bill Simms

        Activity

          People

            lhein Lars Heinemann
            bsimms Bill Simms
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified