@Override public void addProducer(ConnectionContext context, ProducerInfo info) throws Exception { if (isLogAll() || isLogProducerEvents()) { LOG.info("Adding Producer: {}", info); } super.addProducer(context, info); }
@Override public void removeProducer(ConnectionContext context, ProducerInfo info) throws Exception { if (isLogAll() || isLogProducerEvents()) { LOG.info("Removing Producer: {}", info); } super.removeProducer(context, info); }
@Override public void fastProducer(ConnectionContext context, ProducerInfo producerInfo,ActiveMQDestination destination) { if (isLogAll() || isLogProducerEvents() || isLogInternalEvents()) { LOG.info("Fast Producer: {}", producerInfo); } super.fastProducer(context, producerInfo, destination); }
@Override public String toString() { StringBuffer buf = new StringBuffer(); buf.append("LoggingBrokerPlugin("); buf.append("logAll="); buf.append(isLogAll()); buf.append(", logConnectionEvents="); buf.append(isLogConnectionEvents()); buf.append(", logSessionEvents="); buf.append(isLogSessionEvents()); buf.append(", logConsumerEvents="); buf.append(isLogConsumerEvents()); buf.append(", logProducerEvents="); buf.append(isLogProducerEvents()); buf.append(", logTransactionEvents="); buf.append(isLogTransactionEvents()); buf.append(", logInternalEvents="); buf.append(isLogInternalEvents()); buf.append(")"); return buf.toString(); }
@Override public void isFull(ConnectionContext context, Destination destination, Usage<?> usage) { if (isLogAll() || isLogProducerEvents() || isLogInternalEvents()) { LOG.info("Destination is full: {}", destination.getName()); } super.isFull(context, destination, usage); }
@Override public void send(ProducerBrokerExchange producerExchange, Message messageSend) throws Exception { if (isLogAll() || isLogProducerEvents()) { logSend(messageSend.copy()); } super.send(producerExchange, messageSend); }
@Override public void removeProducer(ConnectionContext context, ProducerInfo info) throws Exception { if (isLogAll() || isLogProducerEvents()) { LOG.info("Removing Producer: {}", info); } super.removeProducer(context, info); }
@Override public void removeProducer(ConnectionContext context, ProducerInfo info) throws Exception { if (isLogAll() || isLogProducerEvents()) { LOG.info("Removing Producer: {}", info); } super.removeProducer(context, info); }
@Override public void addProducer(ConnectionContext context, ProducerInfo info) throws Exception { if (isLogAll() || isLogProducerEvents()) { LOG.info("Adding Producer: {}", info); } super.addProducer(context, info); }
@Override public void addProducer(ConnectionContext context, ProducerInfo info) throws Exception { if (isLogAll() || isLogProducerEvents()) { LOG.info("Adding Producer :" + info); } super.addProducer(context, info); }
@Override public void addProducer(ConnectionContext context, ProducerInfo info) throws Exception { if (isLogAll() || isLogProducerEvents()) { LOG.info("Adding Producer: {}", info); } super.addProducer(context, info); }
@Override public void fastProducer(ConnectionContext context, ProducerInfo producerInfo,ActiveMQDestination destination) { if (isLogAll() || isLogProducerEvents() || isLogInternalEvents()) { LOG.info("Fast Producer: {}", producerInfo); } super.fastProducer(context, producerInfo, destination); }
@Override public void fastProducer(ConnectionContext context, ProducerInfo producerInfo,ActiveMQDestination destination) { if (isLogAll() || isLogProducerEvents() || isLogInternalEvents()) { LOG.info("Fast Producer: {}", producerInfo); } super.fastProducer(context, producerInfo, destination); }
@Override public void fastProducer(ConnectionContext context, ProducerInfo producerInfo,ActiveMQDestination destination) { if (isLogAll() || isLogProducerEvents() || isLogInternalEvents()) { LOG.info("Fast Producer: {}", producerInfo); } super.fastProducer(context, producerInfo, destination); }
@Override public void fastProducer(ConnectionContext context, ProducerInfo producerInfo) { if (isLogAll() || isLogProducerEvents() || isLogInternalEvents()) { LOG.info("Fast Producer : " + producerInfo); } super.fastProducer(context, producerInfo); }
@Override public void isFull(ConnectionContext context, Destination destination, Usage<?> usage) { if (isLogAll() || isLogProducerEvents() || isLogInternalEvents()) { LOG.info("Destination is full: {}", destination.getName()); } super.isFull(context, destination, usage); }
@Override public void isFull(ConnectionContext context, Destination destination, Usage usage) { if (isLogAll() || isLogProducerEvents() || isLogInternalEvents()) { LOG.info("Destination is full : " + destination.getName()); } super.isFull(context, destination, usage); }
@Override public void isFull(ConnectionContext context, Destination destination, Usage<?> usage) { if (isLogAll() || isLogProducerEvents() || isLogInternalEvents()) { LOG.info("Destination is full: {}", destination.getName()); } super.isFull(context, destination, usage); }
@Override public void send(ProducerBrokerExchange producerExchange, Message messageSend) throws Exception { if (isLogAll() || isLogProducerEvents()) { logSend(messageSend.copy()); } super.send(producerExchange, messageSend); }
@Override public void send(ProducerBrokerExchange producerExchange, Message messageSend) throws Exception { if (isLogAll() || isLogProducerEvents()) { logSend(messageSend.copy()); } super.send(producerExchange, messageSend); }