synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ruwan Linton <ruwan.lin...@gmail.com>
Subject Re: svn commit: r966514 - /synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/Axis2SynapseController.java
Date Mon, 26 Jul 2010 04:33:07 GMT
Hhhmmm, I though it is how it was before as well :-)

Ruwan

On Thu, Jul 22, 2010 at 11:58 AM, <supun@apache.org> wrote:

> Author: supun
> Date: Thu Jul 22 06:28:23 2010
> New Revision: 966514
>
> URL: http://svn.apache.org/viewvc?rev=966514&view=rev
> Log:
> changing the Mustundertand handler to the last handler and
> SynapseDispatcher to the handler before Mustunderstand handler
>
> Modified:
>
>  synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/Axis2SynapseController.java
>
> Modified:
> synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/Axis2SynapseController.java
> URL:
> http://svn.apache.org/viewvc/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/Axis2SynapseController.java?rev=966514&r1=966513&r2=966514&view=diff
>
> ==============================================================================
> ---
> synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/Axis2SynapseController.java
> (original)
> +++
> synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/Axis2SynapseController.java
> Thu Jul 22 06:28:23 2010
> @@ -756,7 +756,7 @@ public class Axis2SynapseController impl
>         HandlerDescription handlerMD = new
> HandlerDescription(SynapseDispatcher.NAME);
>         // <order after="SOAPMessageBodyBasedDispatcher" phase="Dispatch"/>
>         PhaseRule rule = new PhaseRule(PhaseMetadata.PHASE_DISPATCH);
> -        rule.setAfter(SOAPMessageBodyBasedDispatcher.NAME);
> +        rule.setBefore(SynapseMustUnderstandHandler.NAME);
>         handlerMD.setRules(rule);
>         SynapseDispatcher synapseDispatcher = new SynapseDispatcher();
>         synapseDispatcher.initDispatcher();
> @@ -769,7 +769,7 @@ public class Axis2SynapseController impl
>                 = new
> HandlerDescription(SynapseMustUnderstandHandler.NAME);
>         // <order after="SynapseDispatcher" phase="Dispatch"/>
>         PhaseRule rule = new PhaseRule(PhaseMetadata.PHASE_DISPATCH);
> -        rule.setAfter(SynapseDispatcher.NAME);
> +        rule.setPhaseLast(true);
>         handlerMD.setRules(rule);
>         SynapseMustUnderstandHandler synapseMustUnderstandHandler
>                 = new SynapseMustUnderstandHandler();
>
>
>


-- 
Ruwan Linton
Software Architect & Product Manager, WSO2 ESB; http://wso2.org/esb
WSO2 Inc.; http://wso2.org

Lean . Enterprise . Middleware

phone: +1 408 754 7388 ext 51789
email: ruwan@wso2.com; cell: +94 77 341 3097
blog: http://blog.ruwan.org
linkedin: http://www.linkedin.com/in/ruwanlinton
google: http://www.google.com/profiles/ruwan.linton
tweet: http://twitter.com/ruwanlinton

Mime
View raw message