Leandro Casadei a écrit :
On Fri, Jan 15, 2010 at 3:10 PM, Emmanuel Lécharny <[email protected]>wrote:
Can you tests this simple code (there are two classes, a server and a
client), launching the server then the client, which should exit immediately
? (note that you'll have to add the slf4j and mina-cor jars)
If it works, then just try to see in your code if you are using the same
template.
It worked fine.
The only difference I see is you are calling the close's session method with
"false", and I'm calling it with "true".
Can this be cause of the hang?
Hmmmm. The 'false' asks for the session to flush all the pending
messages. The 'true' just kills everything. If you uses 'true' in the
given test, it makes no difference.