public StompProtocolManager( final StompProtocolManagerFactory factory, final ActiveMQServer server, final List<StompFrameInterceptor> incomingInterceptors, final List<StompFrameInterceptor> outgoingInterceptors) { this.factory = factory; this.server = server; this.executor = server.getExecutorFactory().getExecutor(); ManagementService service = server.getManagementService(); if (service != null) { // allow management message to pass destinations.add(service.getManagementAddress().toString()); service.addNotificationListener(this); } this.incomingInterceptors = incomingInterceptors; this.outgoingInterceptors = outgoingInterceptors; }