@Override public void start() throws Exception { super.start(); LOG.info("Broker Plugin {} started", getClass().getName()); }
@Override public void stop() throws Exception { super.stop(); LOG.info("Broker Plugin {} stopped", getClass().getName()); }
public void networkBridgeStopped(BrokerInfo brokerInfo) { getNext().networkBridgeStopped(brokerInfo); } }
/** * Remove 'self' from the BrokerStack */ public void remove() { parent.setNext(getNext()); }
public void processConsumerControl(ConsumerBrokerExchange consumerExchange, ConsumerControl control) { getNext().processConsumerControl(consumerExchange, control); }
/** * Remove 'self' from the BrokerStack */ public void remove() { parent.setNext(getNext()); }
public void sendToDeadLetterQueue(ConnectionContext context, MessageReference messageReference, Subscription subscription) { getNext().sendToDeadLetterQueue(context, messageReference, subscription); }
private synchronized MessageInterceptorFilter getFilter() { if (filter == null) { try { MutableBrokerFilter mutableBrokerFilter = (MutableBrokerFilter) brokerService.getBroker().getAdaptor(MutableBrokerFilter.class); Broker next = mutableBrokerFilter.getNext(); filter = new MessageInterceptorFilter(next); mutableBrokerFilter.setNext(filter); } catch (Exception e) { LOG.error("Failed to create MessageInterceptorFilter", e); } } return filter; } }
@Override public void start() throws Exception { super.start(); LOG.info("Broker Plugin {} started", getClass().getName()); }
/** * Remove 'self' from the BrokerStack */ public void remove() { parent.setNext(getNext()); }
@Override public void stop() throws Exception { super.stop(); LOG.info("Broker Plugin {} stopped", getClass().getName()); }
public void addProducer(ConnectionContext context, ProducerInfo info) throws Exception { getNext().addProducer(context, info); }
@Override public void start() throws Exception { super.start(); LOG.info("Broker Plugin {} started", getClass().getName()); }
/** * Remove 'self' from the BrokerStack */ public void remove() { parent.setNext(getNext()); }
@Override public void stop() throws Exception { super.stop(); LOG.info("Broker Plugin {} stopped", getClass().getName()); }
public void removeSubscription(ConnectionContext context, RemoveSubscriptionInfo info) throws Exception { getNext().removeSubscription(context, info); }
@Override public void start() throws Exception { super.start(); LOG.info("Broker Plugin {} started", getClass().getName()); }