synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kasun Indrasiri (JIRA)" <j...@apache.org>
Subject [jira] Updated: (SYNAPSE-733) Conditional Router Mediator doesn't route messages based on HTTP Query parameters
Date Tue, 15 Feb 2011 11:36:57 GMT

     [ https://issues.apache.org/jira/browse/SYNAPSE-733?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Kasun Indrasiri updated SYNAPSE-733:
------------------------------------

    Attachment: SYNAPSE-733.patch

Attaching the patch that fixes this issue. 

> Conditional Router Mediator doesn't route messages based on HTTP Query parameters
> ---------------------------------------------------------------------------------
>
>                 Key: SYNAPSE-733
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-733
>             Project: Synapse
>          Issue Type: Bug
>            Reporter: Kasun Indrasiri
>         Attachments: SYNAPSE-733.patch
>
>
> 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

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


Mime
View raw message