public class StatisticsBroker extends BrokerFilter
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.activemq.command.ProducerId |
advisoryProducerId |
protected BrokerViewMBean |
brokerView |
next| Constructor and Description |
|---|
StatisticsBroker(Broker next)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.activemq.command.ActiveMQMapMessage |
prepareSubscriptionMessage(SubscriptionViewMBean subscriber) |
void |
send(ProducerBrokerExchange producerExchange,
org.apache.activemq.command.Message messageSend)
Sets the persistence mode
|
protected void |
sendStats(ConnectionContext context,
org.apache.activemq.command.ActiveMQMapMessage msg,
org.apache.activemq.command.ActiveMQDestination replyTo) |
protected void |
sendSubStats(ConnectionContext context,
ObjectName[] subscribers,
org.apache.activemq.command.ActiveMQDestination replyTo) |
void |
start() |
void |
stop() |
acknowledge, addBroker, addConnection, addConsumer, addDestination, addDestinationInfo, addProducer, addSession, beginTransaction, brokerServiceStarted, commitTransaction, fastProducer, forgetTransaction, gc, getAdaptor, getAdminConnectionContext, getBrokerId, getBrokerName, getBrokerSequenceId, getBrokerService, getClients, getDestinationMap, getDestinationMap, getDestinations, getDestinations, getDurableDestinations, getExecutor, getNext, getPeerBrokerInfos, getPreparedTransactions, getRoot, getScheduler, getTempDataStore, getVmConnectorURI, isExpired, isFaultTolerantConfiguration, isFull, isStopped, messageConsumed, messageDelivered, messageDiscarded, messageExpired, messagePull, networkBridgeStarted, networkBridgeStopped, nowMasterBroker, postProcessDispatch, prepareTransaction, preProcessDispatch, processConsumerControl, processDispatchNotification, reapplyInterceptor, removeBroker, removeConnection, removeConsumer, removeDestination, removeDestinationInfo, removeProducer, removeSession, removeSubscription, rollbackTransaction, sendToDeadLetterQueue, setAdminConnectionContext, slowConsumer, virtualDestinationAdded, virtualDestinationRemovedprotected final org.apache.activemq.command.ProducerId advisoryProducerId
protected BrokerViewMBean brokerView
public StatisticsBroker(Broker next)
next - public void send(ProducerBrokerExchange producerExchange, org.apache.activemq.command.Message messageSend) throws Exception
send in interface Regionsend in class BrokerFilterproducerExchange - the environment the operation is being executed under.Exception - TODOBrokerFilter.send(org.apache.activemq.broker.ProducerBrokerExchange,
org.apache.activemq.command.Message)public void start() throws Exception
start in interface org.apache.activemq.Servicestart in class BrokerFilterExceptionpublic void stop() throws Exception
stop in interface org.apache.activemq.Servicestop in class BrokerFilterExceptionprotected void sendSubStats(ConnectionContext context, ObjectName[] subscribers, org.apache.activemq.command.ActiveMQDestination replyTo) throws Exception
Exceptionprotected org.apache.activemq.command.ActiveMQMapMessage prepareSubscriptionMessage(SubscriptionViewMBean subscriber) throws javax.jms.JMSException
javax.jms.JMSExceptionprotected void sendStats(ConnectionContext context, org.apache.activemq.command.ActiveMQMapMessage msg, org.apache.activemq.command.ActiveMQDestination replyTo) throws Exception
ExceptionCopyright © 2005–2020 The Apache Software Foundation. All rights reserved.