Uploaded image for project: 'Synapse'
  1. Synapse
  2. SYNAPSE-975

Non blocking Callout Mediator (Call Mediator)

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: FUTURE
    • Component/s: None
    • Labels:
      None

      Description

      One of the major drawbacks in Callout mediator is, it does not leverage the non-blocking transports.
      Send mediator which leverages the non-blocking transports, does not provide a simple way to implement service chaining scenarios.

      Idea of the the Call Mediator is to solve the above two concerns.

      Call Mediator invokes the backend service in an asynchronous manner and return without waiting for the response.
      Mediation will be paused from that point.
      When response is received, mediation flow resumes from next mediator placed after the Call Mediator.

      User will experience two major features with the Mediator.

      • Service chaining scenarios will be much easier to implement.
      • Since both request and response can be handled within a single sequence, can define reusable sequences.

        Attachments

        1. sample440.patch
          6 kB
          Isuru Udana Loku Narangoda
        2. synapse-configs-for-integration-tests.zip
          18 kB
          Isuru Udana Loku Narangoda
        3. SYNAPSE-975v2.patch
          151 kB
          Isuru Udana Loku Narangoda

          Activity

            People

            • Assignee:
              isudana Isuru Udana Loku Narangoda
              Reporter:
              isudana Isuru Udana Loku Narangoda
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: