class MessageLoggingToggle implements ApplicationListener<ContextRefreshedEvent> {

    public boolean isResponseLoggingOn() {
        return responseProcessor.isProcessorEnabled(jmsResponseProcessor);
    }

}