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
-
Field Summary
Fields inherited from class org.apache.activemq.artemis.core.management.impl.AbstractControl
storageManager -
Constructor Summary
ConstructorsConstructorDescriptionDivertControlImpl(Divert divert, StorageManager storageManager, String internalNamingPrefix) -
Method Summary
Modifier and TypeMethodDescriptionprotected MBeanAttributeInfo[]protected MBeanOperationInfo[]Returns the origin address used by this divert.Returns the filter used by this divert.Returns the forwarding address used by this divert.Returns the routing name of this divert.Returns the routing type used by this divert.Returns the name of theorg.apache.activemq.artemis.core.server.transformer.Transformerimplementation associated with this divert.Returns a map of the key/value pairs used to configure the transformer.Returns a map of key/value pairs used to configure the transformer in JSON form.Returns the cluster-wide unique name of this divert.booleanReturnstrueif messages will be exclusively diverted and will not be routed to the origin address; otherwisefalseif messages will be routed both to the origin address and the forwarding address.booleanMethods inherited from class org.apache.activemq.artemis.core.management.impl.AbstractControl
blockOnIO, clearIO, getMBeanInfo, sendMessage, tcclCall, tcclInvokeMethods 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 Details
-
DivertControlImpl
public DivertControlImpl(Divert divert, StorageManager storageManager, String internalNamingPrefix) throws Exception - Throws:
Exception
-
-
Method Details
-
getAddress
Description copied from interface:DivertControlReturns the origin address used by this divert.- Specified by:
getAddressin interfaceDivertControl- Returns:
- the origin address used by this divert
-
getFilter
Description copied from interface:DivertControlReturns the filter used by this divert.- Specified by:
getFilterin interfaceDivertControl- Returns:
- the filter used by this divert
-
getForwardingAddress
Description copied from interface:DivertControlReturns the forwarding address used by this divert.- Specified by:
getForwardingAddressin interfaceDivertControl- Returns:
- the forwarding address used by this divert
-
getRoutingName
Description copied from interface:DivertControlReturns the routing name of this divert.- Specified by:
getRoutingNamein interfaceDivertControl- Returns:
- the routing name of this divert
-
getTransformerClassName
Description copied from interface:DivertControlReturns the name of theorg.apache.activemq.artemis.core.server.transformer.Transformerimplementation associated with this divert.- Specified by:
getTransformerClassNamein interfaceDivertControl- Returns:
- the name of the
org.apache.activemq.artemis.core.server.transformer.Transformerimplementation associated with this divert
-
getTransformerPropertiesAsJSON
Description copied from interface:DivertControlReturns a map of key/value pairs used to configure the transformer in JSON form.- Specified by:
getTransformerPropertiesAsJSONin interfaceDivertControl- Returns:
- a map of key/value pairs used to configure the transformer in JSON form
-
getTransformerProperties
Description copied from interface:DivertControlReturns a map of the key/value pairs used to configure the transformer.- Specified by:
getTransformerPropertiesin interfaceDivertControl- Returns:
- a map of the key/value pairs used to configure the transformer
-
getRoutingType
Description copied from interface:DivertControlReturns the routing type used by this divert.- Specified by:
getRoutingTypein interfaceDivertControl- Returns:
- the routing type used by this divert
-
getUniqueName
Description copied from interface:DivertControlReturns the cluster-wide unique name of this divert.- Specified by:
getUniqueNamein interfaceDivertControl- Returns:
- the cluster-wide unique name of this divert
-
isExclusive
public boolean isExclusive()Description copied from interface:DivertControlReturnstrueif messages will be exclusively diverted and will not be routed to the origin address; otherwisefalseif messages will be routed both to the origin address and the forwarding address.- Specified by:
isExclusivein interfaceDivertControl- Returns:
trueif messages will be exclusively diverted and will not be routed to the origin address; otherwisefalseif messages will be routed both to the origin address and the forwarding address
-
isRetroactiveResource
public boolean isRetroactiveResource()- Specified by:
isRetroactiveResourcein interfaceDivertControl
-
fillMBeanOperationInfo
- Specified by:
fillMBeanOperationInfoin classAbstractControl
-
fillMBeanAttributeInfo
- Specified by:
fillMBeanAttributeInfoin classAbstractControl
-