synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Asankha C. Perera" <asan...@wso2.com>
Subject Re: transportName attribute in AbstractTransport(Listener|Sender)
Date Sat, 17 May 2008 18:02:03 GMT
Andreas
> Can somebody on the list explain me why AbstractTransportListener 
> (AbstractTransportSender) defines its own attribute "transportName" 
> (initialized with a constant value by subclasses) instead of using the 
> name provided by TransportInDescription (TransportOutDescription)? I 
> think that this may lead to inconsistencies in 
> AbstractTransportListener#disableTransportForService, because this 
> method compares transportName to the result of 
> TransportInDescription#getName(). This will only work correctly if the 
> transport names specified in axis2.xml are the same as the ones 
> hardcoded into the transports themselves.
+1.. remove the transportName

asankha

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


Mime
View raw message