reloading the package sometimes helps… I’ve found killing the session doesn’t always work. (and even reloading the package sometimes doesn’t work).
I’m with Eduardo on the danger of any attempt to kill a java service. You lose all assurance of anything, and there really is no safe way to kill a thread.
Best way would be to put a call inside your loop to check a value in another service which you could simply flip to a “false” which could then exit the flow after doing whatever cleanup is necessary. This fits with the recommended way to do this in java:
while (stillContinue)
{
//do the stuff
}
so if stillContinue is set to false it will not loop anymore.
regards,
Nath
#Flow-and-Java-services#Integration-Server-and-ESB#webMethods