public void log(AuditLogEntry entry) { for (AuditLog log : factory.getAuditLogs()) { log.log(entry); } }
public WireFormat getWireFormat() { if (wireFormat == null) { wireFormat = createWireFormat(); } return wireFormat; }
public WireFormatFactory getWireFormatFactory() { if (wireFormatFactory == null) { wireFormatFactory = createWireFormatFactory(); } return wireFormatFactory; }
public void acknowledge(ConsumerBrokerExchange consumerExchange, MessageAck ack) throws Exception { trace(ack); super.acknowledge(consumerExchange, ack); }
@Override public Destination addDestination(ConnectionContext context, ActiveMQDestination destination, boolean createIfTemporary) throws Exception { return super.addDestination(context, convertDestination(destination), createIfTemporary); }
public static AuditLogService getAuditLog() { if (auditLog == null) { auditLog = new AuditLogService(); } return auditLog; }
private AuditLogService() { factory = new DefaultAuditLogFactory(); }
/** * @throws Exception * @org.apache.xbean.InitMethod */ public void afterPropertiesSet() throws Exception { LOG.info("Created LoggingBrokerPlugin: {}", this.toString()); }
public void complete() { setTimestamp(System.currentTimeMillis()); state = 1; }
@Override public void stop() throws Exception { super.stop(); exportDestinations(); }
public void addProducer(ConnectionContext context, ProducerInfo info) throws Exception { trace(info); super.addProducer(context, info); }
@Override public void removeDestination(ConnectionContext context, ActiveMQDestination destination, long timeout) throws Exception { super.removeDestination(context, convertDestination(destination), timeout); }
public void addConnection(ConnectionContext context, ConnectionInfo info) throws Exception { trace(info); super.addConnection(context, info); }
public Subscription addConsumer(ConnectionContext context, ConsumerInfo info) throws Exception { trace(info); return super.addConsumer(context, info); }
public void processDispatchNotification(MessageDispatchNotification messageDispatchNotification) throws Exception { trace(messageDispatchNotification); super.processDispatchNotification(messageDispatchNotification); }
public void send(ProducerBrokerExchange producerExchange, Message messageSend) throws Exception { trace(messageSend); super.send(producerExchange, messageSend); }
public void addDestinationInfo(ConnectionContext context, DestinationInfo info) throws Exception { trace(info); super.addDestinationInfo(context, info); }
public void removeDestinationInfo(ConnectionContext context, DestinationInfo info) throws Exception { trace(info); super.removeDestinationInfo(context, info); }
public void removeSubscription(ConnectionContext context, RemoveSubscriptionInfo info) throws Exception { trace(info); super.removeSubscription(context, info); }
public void postProcessDispatch(MessageDispatch messageDispatch) { trace(messageDispatch); super.postProcessDispatch(messageDispatch); }