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

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

    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

        1. SYNAPSE-733.patch
          0.9 kB
          Kasun Indrasiri

        Activity

          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: