axiom-core/src/main/java/org/axiom/service/ShutdownChannel.java
@Consume(uri= Environment.TERMINATION_CHANNEL)
    public void onShutdown(@Header(name=Environment.SIGNAL) final String signal) {
        log.debug("Received {} signal.", signal);
        if (equalsIgnoreCase(Environment.SIG_TERMINATE, signal)) {
            latch.countDown();
        }
    }
/**
     * Callback/API method used internally by the managed (camel) control channels.
     * <b>Application code should not call this method under any circumstances.</b>
     * @param signal A signal header injected by the underlying (camel) message exchange.
     */
Callback/API method used internally by the managed (camel) control channels.
Application code should not call this method under any circumstances.
@param signal A signal header injected by the underlying (camel) message exchange.
Callback / API method used internally by the managed ( camel ) control channels . Application code should not call this method under any circumstances . @param signal A signal header injected by the underlying ( camel ) message exchange .
@Consume(uri= Environment.TERMINATION_CHANNEL)
    public void onShutdown(@Header(name=Environment.SIGNAL) final String signal) {
        log.debug("Received {} signal.", signal);
        if (equalsIgnoreCase(Environment.SIG_TERMINATE, signal)) {
            latch.countDown();
        }
    }
@ Consume ( uri = Environment . TERMINATION_CHANNEL ) public void onShutdown ( @ Header ( name = Environment . SIGNAL ) final String signal ) { log . debug ( "Received {} signal." , signal ) ; if ( equalsIgnoreCase ( Environment . SIG_TERMINATE , signal ) ) { latch . countDown ( ) ; } }
Callback/API method used internally by the managed (camel) control channels.
Callback / API method used internally by the managed ( camel ) control channels .