Class BridgeControlImpl
- java.lang.Object
-
- javax.management.StandardMBean
-
- org.apache.activemq.artemis.core.management.impl.AbstractControl
-
- org.apache.activemq.artemis.core.management.impl.BridgeControlImpl
-
- All Implemented Interfaces:
DynamicMBean,MBeanRegistration,ActiveMQComponentControl,BridgeControl
public class BridgeControlImpl extends AbstractControl implements BridgeControl
-
-
Field Summary
-
Fields inherited from class org.apache.activemq.artemis.core.management.impl.AbstractControl
storageManager
-
-
Constructor Summary
Constructors Constructor Description BridgeControlImpl(Bridge bridge, StorageManager storageManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected MBeanAttributeInfo[]fillMBeanAttributeInfo()protected MBeanOperationInfo[]fillMBeanOperationInfo()StringgetDiscoveryGroupName()StringgetFilterString()StringgetForwardingAddress()longgetMaxRetryInterval()longgetMessagesAcknowledged()longgetMessagesPendingAcknowledgement()Map<String,Object>getMetrics()StringgetName()StringgetQueueName()intgetReconnectAttempts()longgetRetryInterval()doublegetRetryIntervalMultiplier()String[]getStaticConnectors()StringgetTransformerClassName()Map<String,String>getTransformerProperties()StringgetTransformerPropertiesAsJSON()booleanisHA()booleanisStarted()booleanisUseDuplicateDetection()voidstart()voidstop()-
Methods inherited from class org.apache.activemq.artemis.core.management.impl.AbstractControl
blockOnIO, clearIO, getMBeanInfo, sendMessage, tcclCall, tcclInvoke
-
Methods inherited from class javax.management.StandardMBean
cacheMBeanInfo, getAttribute, getAttributes, getCachedMBeanInfo, getClassName, getConstructors, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getImpact, getImplementation, getImplementationClass, getMBeanInterface, getParameterName, getParameterName, invoke, postDeregister, postRegister, preDeregister, preRegister, setAttribute, setAttributes, setImplementation
-
-
-
-
Constructor Detail
-
BridgeControlImpl
public BridgeControlImpl(Bridge bridge, StorageManager storageManager) throws Exception
- Throws:
Exception
-
-
Method Detail
-
getStaticConnectors
public String[] getStaticConnectors() throws Exception
- Specified by:
getStaticConnectorsin interfaceBridgeControl- Throws:
Exception
-
getForwardingAddress
public String getForwardingAddress()
- Specified by:
getForwardingAddressin interfaceBridgeControl
-
getQueueName
public String getQueueName()
- Specified by:
getQueueNamein interfaceBridgeControl
-
getDiscoveryGroupName
public String getDiscoveryGroupName()
- Specified by:
getDiscoveryGroupNamein interfaceBridgeControl
-
getFilterString
public String getFilterString()
- Specified by:
getFilterStringin interfaceBridgeControl
-
getReconnectAttempts
public int getReconnectAttempts()
- Specified by:
getReconnectAttemptsin interfaceBridgeControl
-
getName
public String getName()
- Specified by:
getNamein interfaceBridgeControl
-
getRetryInterval
public long getRetryInterval()
- Specified by:
getRetryIntervalin interfaceBridgeControl
-
getRetryIntervalMultiplier
public double getRetryIntervalMultiplier()
- Specified by:
getRetryIntervalMultiplierin interfaceBridgeControl
-
getMaxRetryInterval
public long getMaxRetryInterval()
- Specified by:
getMaxRetryIntervalin interfaceBridgeControl
-
getTransformerClassName
public String getTransformerClassName()
- Specified by:
getTransformerClassNamein interfaceBridgeControl
-
getTransformerPropertiesAsJSON
public String getTransformerPropertiesAsJSON()
- Specified by:
getTransformerPropertiesAsJSONin interfaceBridgeControl
-
getTransformerProperties
public Map<String,String> getTransformerProperties()
- Specified by:
getTransformerPropertiesin interfaceBridgeControl
-
isStarted
public boolean isStarted()
- Specified by:
isStartedin interfaceActiveMQComponentControl
-
isUseDuplicateDetection
public boolean isUseDuplicateDetection()
- Specified by:
isUseDuplicateDetectionin interfaceBridgeControl
-
isHA
public boolean isHA()
- Specified by:
isHAin interfaceBridgeControl
-
start
public void start() throws Exception- Specified by:
startin interfaceActiveMQComponentControl- Throws:
Exception
-
stop
public void stop() throws Exception- Specified by:
stopin interfaceActiveMQComponentControl- Throws:
Exception
-
fillMBeanOperationInfo
protected MBeanOperationInfo[] fillMBeanOperationInfo()
- Specified by:
fillMBeanOperationInfoin classAbstractControl
-
fillMBeanAttributeInfo
protected MBeanAttributeInfo[] fillMBeanAttributeInfo()
- Specified by:
fillMBeanAttributeInfoin classAbstractControl
-
getMessagesPendingAcknowledgement
public long getMessagesPendingAcknowledgement()
- Specified by:
getMessagesPendingAcknowledgementin interfaceBridgeControl
-
getMessagesAcknowledged
public long getMessagesAcknowledged()
- Specified by:
getMessagesAcknowledgedin interfaceBridgeControl
-
getMetrics
public Map<String,Object> getMetrics()
- Specified by:
getMetricsin interfaceBridgeControl
-
-