I'd like to implement a shutdown hook for commons pipeline so that
when my service stops it notifies the pipeline to shutdown gracefully.
Something like this, excuse my pseudo :
Runtime.getRuntime().addShutdownHook(new Thread() {
public void run() {
getPipelline().finish();
}
});;
Is this a logical way to gracefully stop the pipeline in the event of
an application shutdown?
Cheers,
Roland
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]