Hi,
Sorry, but actually I start the thread inside from a file marshaler,
which is used by a file sender. I use your mentioned method, something like
below:
public class myFileMarshaller extends DefaultFileMarshaler {
............
@PostConstruct
public void startMonitor()
{
Monitor.getInstance().startMonitorThread();
}
@PreDestroy
public void stopMonitor()
{
Monitor.getInstance().stopMonitorThread();
}
}
Seems it doesn't work for file marshaller :(
--
View this message in context:
http://servicemix.396122.n5.nabble.com/how-to-stop-user-thread-after-bean-su-is-undeployed-tp4589168p4589537.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.