Class AMQPBridgeSenderInfo
java.lang.Object
org.apache.activemq.artemis.protocol.amqp.connect.bridge.AMQPBridgeSenderInfo
Information and identification interface for AMQP bridge senders 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 sender (Address or Queue).
-
Constructor Summary
ConstructorsConstructorDescriptionAMQPBridgeSenderInfo(org.apache.activemq.artemis.protocol.amqp.connect.bridge.AMQPBridgeSenderInfo.Role role, String localAddress, String localQueue, RoutingType routingType, String remoteAddress) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetId()Returns a unique Id for the sender being represented.Returns local address that the remote sender was created for.Returns the local FQQN if describing a Queue sender or null for an address sender.Returns local queue that the remote sender was created for or a local queue used to generate demand.Returns the remote address used to populate the address in the Target address of the AMQP sender.org.apache.activemq.artemis.protocol.amqp.connect.bridge.AMQPBridgeSenderInfo.RolegetRole()Returns the role assigned to this sender instance.Returns the routing type of the local resource this sender bridges to.inthashCode()toString()
-
Constructor Details
-
AMQPBridgeSenderInfo
public AMQPBridgeSenderInfo(org.apache.activemq.artemis.protocol.amqp.connect.bridge.AMQPBridgeSenderInfo.Role role, String localAddress, String localQueue, RoutingType routingType, String remoteAddress)
-
-
Method Details
-
getId
Returns a unique Id for the sender being represented.- Returns:
- a unique Id for the sender being represented
-
getRole
public org.apache.activemq.artemis.protocol.amqp.connect.bridge.AMQPBridgeSenderInfo.Role getRole()Returns the role assigned to this sender instance.- Returns:
- the role assigned to this sender instance
-
getRemoteAddress
Returns the remote address used to populate the address in the Target address of the AMQP sender.- Returns:
- the remote address used to populate the address in the Target address of the AMQP sender
-
getLocalAddress
Returns local address that the remote sender was created for.- Returns:
- local address that the remote sender was created for
-
getLocalQueue
Returns local queue that the remote sender was created for or a local queue used to generate demand.- Returns:
- local queue that the remote sender was created for or a local queue used to generate demand
-
getLocalFqqn
Returns the local FQQN if describing a Queue sender or null for an address sender.- Returns:
- the local FQQN if describing a Queue sender or null for an address sender
-
getRoutingType
Returns the routing type of the local resource this sender bridges to.- Returns:
- the routing type of the local resource this sender bridges to
-
hashCode
-
equals
-
toString
-