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


Reply via email to