Hi All,
Currently according to the way ServiceClient.cleanup() method hs been written, it seems to be stopping the listner only if the ConfigurationContext was not passed by the the user. So if the ConfigurationContext was passed by the user he has to write
his code as follows
<code>
ConfigurationContext configContext = ConfigurationContextFactory.createConfigurationContextFromFileSystem();
ServiceClient serviceClient = new ServiceClient (configContext,null);
//Do the invocation
configContext.getListenerManager().stop();
serviceClient.cleanup();
</code>
If line 4 was not included to stop the listner, the client hangs.
Is this the expected behaviour, or should we do a change in the 'cleanup' method to stop the listner in all the scenarios ?
Chamikara
- [Axis2] stopping the ListenerManager in Async InOut in... Chamikara Jayalath
- Re: [Axis2] stopping the ListenerManager in Async... Sanjiva Weerawarana
- Re: [Axis2] stopping the ListenerManager in A... Chamikara Jayalath
- Re: [Axis2] stopping the ListenerManager ... Chamikara Jayalath
- Re: [Axis2] stopping the ListenerManager ... Glen Daniels
- Re: [Axis2] stopping the ListenerMana... Deepal Jayasinghe
