Hi,

When I run Qpid Java client from exec-maven-plugin, I get this warning
complaining about remaining ack-flusher thread:

===================
[WARNING] thread
Thread[ack-flusher,5,org.switchyard.quickstarts.camel.amqp.binding.QpidClient]
was interrupted but is still alive after waiting at least 15000msecs
[WARNING] thread
Thread[ack-flusher,5,org.switchyard.quickstarts.camel.amqp.binding.QpidClient]
will linger despite being asked to die via interruption
[WARNING] NOTE: 1 thread(s) did not finish despite being asked to  via
interruption. This is not a problem with exec:java, it is a problem
with the running code. Although not serious, it should be remedied.
[WARNING] Couldn't destroy threadgroup
org.codehaus.mojo.exec.ExecJavaMojo$IsolatedThreadGroup[name=org.switchyard.quickstarts.camel.amqp.binding.QpidClient,maxpri=10]
java.lang.IllegalThreadStateException
===================

So ack-flusher thread is not stopped even after connection is closed.
Is there a way to stop it safely?

Whole client code is here:
https://github.com/igarashitm/switchyard/blob/master/quickstarts/camel-amqp-binding/src/test/java/org/switchyard/quickstarts/camel/amqp/binding/QpidClient.java

I tried adding connection.close() on this code with qpid-client 0.32,
but I got same warning.

Thanks,
Tomo

--
IGARASHI Tomohisa    mailto:[email protected]

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to