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

Conditional Router Mediator doesn't route messages based on HTTP Query parameters

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.1
    • None
    • None

    Description

      Conditional Router Mediator doesn't route messages based on HTTP Query parameters for GET requests.
      In the following configuration, I'm trying to route a message based on a http parameter but the condition never get satisfied.

      Synapse Config :

      <conditionalRouter>
      <route>
      <condition>
      <equal source="s" type="param" value="test" />
      </condition>
      <target sequence="send_seq"/>
      </route>
      </conditionalRouter>

      GET Request:
      curl http://localhost:8280/services/StockQuoteProxy?s=test

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            heshan Heshan Theekshana Suriyaarachchi
            kasun.indrasiri Kasun Indrasiri
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment