Class DivertControlImpl
- java.lang.Object
-
- javax.management.StandardMBean
-
- org.apache.activemq.artemis.core.management.impl.AbstractControl
-
- org.apache.activemq.artemis.core.management.impl.DivertControlImpl
-
- All Implemented Interfaces:
DynamicMBean,MBeanRegistration,DivertControl
public class DivertControlImpl extends AbstractControl implements DivertControl
-
-
Field Summary
-
Fields inherited from class org.apache.activemq.artemis.core.management.impl.AbstractControl
storageManager
-
-
Constructor Summary
Constructors Constructor Description DivertControlImpl(Divert divert, StorageManager storageManager, String internalNamingPrefix)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected MBeanAttributeInfo[]fillMBeanAttributeInfo()protected MBeanOperationInfo[]fillMBeanOperationInfo()StringgetAddress()Returns the origin address used by this divert.StringgetFilter()Returns the filter used by this divert.StringgetForwardingAddress()Returns the forwarding address used by this divert.StringgetRoutingName()Returns the routing name of this divert.StringgetRoutingType()Returns the routing type used by this divert.StringgetTransformerClassName()Return the name of the org.apache.activemq.artemis.core.server.cluster.Transformer implementation associated with this divert.Map<String,String>getTransformerProperties()Returns a map of the properties configured for the transformer.StringgetTransformerPropertiesAsJSON()Returns a map of the properties configured for the transformer.StringgetUniqueName()Returns the cluster-wide unique name of this divert.booleanisExclusive()Returns whether this divert is exclusive.booleanisRetroactiveResource()-
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
-
DivertControlImpl
public DivertControlImpl(Divert divert, StorageManager storageManager, String internalNamingPrefix) throws Exception
- Throws:
Exception
-
-
Method Detail
-
getAddress
public String getAddress()
Description copied from interface:DivertControlReturns the origin address used by this divert.- Specified by:
getAddressin interfaceDivertControl
-
getFilter
public String getFilter()
Description copied from interface:DivertControlReturns the filter used by this divert.- Specified by:
getFilterin interfaceDivertControl
-
getForwardingAddress
public String getForwardingAddress()
Description copied from interface:DivertControlReturns the forwarding address used by this divert.- Specified by:
getForwardingAddressin interfaceDivertControl
-
getRoutingName
public String getRoutingName()
Description copied from interface:DivertControlReturns the routing name of this divert.- Specified by:
getRoutingNamein interfaceDivertControl
-
getTransformerClassName
public String getTransformerClassName()
Description copied from interface:DivertControlReturn the name of the org.apache.activemq.artemis.core.server.cluster.Transformer implementation associated with this divert.- Specified by:
getTransformerClassNamein interfaceDivertControl
-
getTransformerPropertiesAsJSON
public String getTransformerPropertiesAsJSON()
Description copied from interface:DivertControlReturns a map of the properties configured for the transformer.- Specified by:
getTransformerPropertiesAsJSONin interfaceDivertControl
-
getTransformerProperties
public Map<String,String> getTransformerProperties()
Description copied from interface:DivertControlReturns a map of the properties configured for the transformer.- Specified by:
getTransformerPropertiesin interfaceDivertControl
-
getRoutingType
public String getRoutingType()
Description copied from interface:DivertControlReturns the routing type used by this divert.- Specified by:
getRoutingTypein interfaceDivertControl
-
getUniqueName
public String getUniqueName()
Description copied from interface:DivertControlReturns the cluster-wide unique name of this divert.- Specified by:
getUniqueNamein interfaceDivertControl
-
isExclusive
public boolean isExclusive()
Description copied from interface:DivertControlReturns whether this divert is exclusive.
iftruemessages will be exclusively diverted and will not be routed to the origin address, else messages will be routed both to the origin address and the forwarding address.- Specified by:
isExclusivein interfaceDivertControl
-
isRetroactiveResource
public boolean isRetroactiveResource()
- Specified by:
isRetroactiveResourcein interfaceDivertControl
-
fillMBeanOperationInfo
protected MBeanOperationInfo[] fillMBeanOperationInfo()
- Specified by:
fillMBeanOperationInfoin classAbstractControl
-
fillMBeanAttributeInfo
protected MBeanAttributeInfo[] fillMBeanAttributeInfo()
- Specified by:
fillMBeanAttributeInfoin classAbstractControl
-
-