Class AMQPBridgeBrokerConnectionElement
java.lang.Object
org.apache.activemq.artemis.core.config.amqpBrokerConnectivity.AMQPBrokerConnectionElement
org.apache.activemq.artemis.core.config.amqpBrokerConnectivity.AMQPBridgeBrokerConnectionElement
- All Implemented Interfaces:
Serializable
Configuration for broker AMQP message bridge policy managed by a broker connection.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionaddBridgeFromAddressPolicy
(AMQPBridgeAddressPolicyElement fromAddressPolicy) addBridgeFromQueuePolicy
(AMQPBridgeQueuePolicyElement fromQueuePolicy) addBridgeToAddressPolicy
(AMQPBridgeAddressPolicyElement toAddressPolicy) addBridgeToQueuePolicy
(AMQPBridgeQueuePolicyElement toQueuePolicy) addProperty
(String key, Number value) Adds the given property key and value to the bridge configuration element.addProperty
(String key, String value) Adds the given property key and value to the bridge configuration element.boolean
int
hashCode()
Methods inherited from class org.apache.activemq.artemis.core.config.amqpBrokerConnectivity.AMQPBrokerConnectionElement
getMatchAddress, getName, getParent, getQueueName, getType, match, match, setMatchAddress, setMatchAddress, setName, setParent, setQueueName, setQueueName
-
Constructor Details
-
AMQPBridgeBrokerConnectionElement
public AMQPBridgeBrokerConnectionElement() -
AMQPBridgeBrokerConnectionElement
-
-
Method Details
-
setType
- Overrides:
setType
in classAMQPBrokerConnectionElement
-
getBridgeFromAddressPolicies
- Returns:
- the configured bridge from address policy set
-
addBridgeFromAddressPolicy
public AMQPBridgeBrokerConnectionElement addBridgeFromAddressPolicy(AMQPBridgeAddressPolicyElement fromAddressPolicy) - Parameters:
fromAddressPolicy
- the policy to add to the set of bridge from address policies set- Returns:
- this configuration element instance.
-
getBridgeToAddressPolicies
- Returns:
- the configured bridge to address policy set
-
addBridgeToAddressPolicy
public AMQPBridgeBrokerConnectionElement addBridgeToAddressPolicy(AMQPBridgeAddressPolicyElement toAddressPolicy) - Parameters:
toAddressPolicy
- the policy to add to the set of bridge to address policies set- Returns:
- this configuration element instance.
-
getBridgeFromQueuePolicies
- Returns:
- the configured bridge from queue policy set
-
addBridgeFromQueuePolicy
public AMQPBridgeBrokerConnectionElement addBridgeFromQueuePolicy(AMQPBridgeQueuePolicyElement fromQueuePolicy) - Parameters:
fromQueuePolicy
- the policy to add to the set of bridge from queue policies set- Returns:
- this configuration element instance.
-
getBridgeToQueuePolicies
- Returns:
- the configured bridge to queue policy set
-
addBridgeToQueuePolicy
public AMQPBridgeBrokerConnectionElement addBridgeToQueuePolicy(AMQPBridgeQueuePolicyElement toQueuePolicy) - Parameters:
toQueuePolicy
- the policy to add to the set of bridge to queue policies set- Returns:
- this configuration element instance.
-
addProperty
Adds the given property key and value to the bridge configuration element.- Parameters:
key
- The key that identifies the propertyvalue
- The value associated with the property key.- Returns:
- this configuration element instance.
-
addProperty
Adds the given property key and value to the bridge configuration element.- Parameters:
key
- The key that identifies the propertyvalue
- The value associated with the property key.- Returns:
- this configuration element instance.
-
getProperties
- Returns:
- the collection of configuration properties associated with this bridge element.
-
hashCode
public int hashCode()- Overrides:
hashCode
in classAMQPBrokerConnectionElement
-
equals
- Overrides:
equals
in classAMQPBrokerConnectionElement
-