Class AMQPBridgeReceiverInfo
java.lang.Object
org.apache.activemq.artemis.protocol.amqp.connect.bridge.AMQPBridgeReceiverInfo
Information and identification interface for AMQP bridgeManager receivers that will be
created on the remote peer as demand on the local broker is detected. The behavior
and meaning of some APIs in this interface may vary slightly depending on the role
of the receiver (Address or Queue).
-
Constructor Summary
ConstructorsConstructorDescriptionAMQPBridgeReceiverInfo(org.apache.activemq.artemis.protocol.amqp.connect.bridge.AMQPBridgeReceiverInfo.ReceiverRole role, String localAddress, String localQueue, RoutingType routingType, String remoteAddress, String filterString, Integer priority) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the filter string that should be set in the remote receiver configuration.getId()Returns a unique Id for the receiver being represented.Returns local address that the remote receiver was created for.Returns the local FQQN if describing a Queue receiver otherwise null for an Address receiver.Returns the local queue that the remote receiver was created for (null for address receiver).Returns the priority value to assign to the remote receiver configuration (null means no priority).Returns the remote address used to populate the address in the Source address of the AMQP receiver.org.apache.activemq.artemis.protocol.amqp.connect.bridge.AMQPBridgeReceiverInfo.ReceiverRolegetRole()Returns the role assigned to this receiver instance.Returns the routing type of the local resource this receiver bridges to.inthashCode()toString()
-
Constructor Details
-
AMQPBridgeReceiverInfo
-
-
Method Details
-
getId
Returns a unique Id for the receiver being represented.- Returns:
- a unique Id for the receiver being represented
-
getRole
public org.apache.activemq.artemis.protocol.amqp.connect.bridge.AMQPBridgeReceiverInfo.ReceiverRole getRole()Returns the role assigned to this receiver instance.- Returns:
- the role assigned to this receiver instance
-
getRemoteAddress
Returns the remote address used to populate the address in the Source address of the AMQP receiver.- Returns:
- the remote address used to populate the address in the Source address of the AMQP receiver
-
getLocalAddress
Returns local address that the remote receiver was created for.- Returns:
- local address that the remote receiver was created for
-
getLocalQueue
Returns the local queue that the remote receiver was created for (null for address receiver).- Returns:
- the local queue that the remote receiver was created for (null for address receiver)
-
getLocalFqqn
Returns the local FQQN if describing a Queue receiver otherwise null for an Address receiver.- Returns:
- the local FQQN if describing a Queue receiver otherwise null for an Address receiver
-
getRoutingType
Returns the routing type of the local resource this receiver bridges to.- Returns:
- the routing type of the local resource this receiver bridges to
-
getFilterString
Returns the filter string that should be set in the remote receiver configuration.- Returns:
- the filter string that should be set in the remote receiver configuration
-
getPriority
Returns the priority value to assign to the remote receiver configuration (null means no priority).- Returns:
- the priority value to assign to the remote receiver configuration (null means no priority)
-
hashCode
-
equals
-
toString
-