class MessageLoggingToggle implements ApplicationListener<ContextRefreshedEvent> {

    public boolean isRequestLoggingOn() {
        return requestProcessor.isProcessorEnabled(jmsRequestLoggerProcessor);
    }

}