Uploaded image for project: 'Tuscany'
  1. Tuscany
  2. TUSCANY-1675

Provide a setter method to set a different workScheduler on NonBlockingInterceptor

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • Java-SCA-1.0
    • None
    • None
    • Patch Available

    Description

      Often times it's required to set/configure a different workmanager on invocation chain other than the default one which is
      configured per Tuscany runtime. This feature is useful for extension frameworks to be able to set a desired workmanager
      on an invocation chain if needed.

      A simple setter in NonBlockingInterceptor will provide a solution for this issue. Using this setter, extension frameworks can
      set desired workmanager on InvocationChain during post wire processing.

      /**

      • Sets desired workScheduler to NonBlockingInterceptor. This is a usefull function for the extension framework
      • to set desired workmanager on the InvocationChain, other than default workmanager which is set per Tuscany runtime.
      • Using this function, extension framework can set desired workmanager on InvocationChain during post wire processing.
      • @param workScheduler workScheduler which contains workmanager
        */
        public void setWorkScheduler(WorkScheduler workScheduler) { this.workScheduler = workScheduler; }

      Attachments

        1. NonBlockingInterceptor.java
          7 kB
          Rashmi Hunt

        Activity

          People

            lresende Luciano Resende
            rashmihunt Rashmi Hunt
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: