synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Fremantle <pzf...@gmail.com>
Subject Re: Require <engage-addressing-in/>?
Date Sun, 15 Jan 2006 17:23:18 GMT
Yes +1 to how hard it is to find these properties!!!

and THANKS for finding it :-)

Paul

On 1/15/06, Sanjiva Weerawarana <sanjiva@opensource.lk> wrote:
>
> On Sun, 2006-01-15 at 15:06 +0000, Paul Fremantle wrote:
> > Eran
> >
> > How do I use it? I have a whole bunch of hokey code in order to turn
> > off addressing, and wasted a morning getting it working when we ported
> > to 0.94 because I missed something obvious in amongst the hokey code!
>
> I just looked at the addressing out handler and it has this code:
>
>         Boolean
>                 property = (Boolean)
> msgContext.getProperty(
> Constants.Configuration.DISABLE_ADDRESSING_FOR_OUT_MESSAGES);
>         if (property != null && property.booleanValue()) {
>             log.info("Addressing is disbaled .....");
>             return;
>         }
>
> So .. I guess all that needs to happen is to set the property
>
> org.apache.axis2.Constants.Configuration.DISABLE_ADDRESSING_FOR_OUT_MESSAGESto true somewhere!
>
> Sorry Paul; I guess this went thru somewhere without the necessary
> message to synapse-dev! :(.
>
> Oh and BTW, this is why I don't like using properties .. you have to
> know the names of properties to be able to make use of them. If there
> were methods then its more immediately visible. Anyway.
>
> Sanjiva.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: synapse-dev-help@ws.apache.org
>
>


--
Paul Fremantle
VP/Technology, WSO2 and OASIS WS-RX TC Co-chair

http://bloglines.com/blog/paulfremantle
paul@wso2.com

"Oxygenating the Web Service Platform", www.wso2.com

Mime
View raw message