Interface AMQPBridgeSenderControl
- All Known Implementing Classes:
AMQPBridgeSenderControlType
public interface AMQPBridgeSenderControl
Management interface that is backed by an active bridge sender
that was created when demand was applied to a matching address or queue
on the remote broker that is bringing messages to itself via bridge.
The bridge sender sends messages for the given address or queue to
a remote bridge sender.
-
Method Summary
Modifier and TypeMethodDescriptionGets the address that will be used for this bridge sender instance.Gets the filter string that will be used when creating the bridge sender.getFqqn()Gets the local FQQN that comprises the address and queue where the remote sender will be attached.longReturns the number of messages this bridge sender has sent to the remote.intGets the priority value that will be requested for the local subscription that feeds this bridge sender with messages to send to the remote.Gets the queue name that will be used for this bridge sender instance.getRole()Returns the type of bridge sender being represented.Gets the routing type that will be requested when creating a sender on the local server.
-
Method Details
-
getMessagesSent
long getMessagesSent()Returns the number of messages this bridge sender has sent to the remote.- Returns:
- the number of messages this bridge sender has sent to the remote
-
getRole
String getRole()Returns the type of bridge sender being represented.- Returns:
- the type of bridge sender being represented
-
getQueueName
String getQueueName()Gets the queue name that will be used for this bridge sender instance. For Queue bridge this will be the name of the queue whose messages are being bridged from this server instance to the remote. For an Address bridge this will be an automatically generated name that should be unique to a given bridge sender instance.- Returns:
- the queue name associated with the bridge sender
-
getAddress
String getAddress()Gets the address that will be used for this bridge sender instance. For Queue bridge this is the address under which the matching queue must reside. For Address bridge this is the actual subscription address whose messages are being bridged from the local address.- Returns:
- the address associated with this bridge sender.
-
getFqqn
String getFqqn()Gets the local FQQN that comprises the address and queue where the remote sender will be attached.- Returns:
- provides the FQQN that can be used to address the sender queue directly.
-
getRoutingType
String getRoutingType()Gets the routing type that will be requested when creating a sender on the local server.- Returns:
- the routing type of the bridge sender.
-
getFilterString
String getFilterString()Gets the filter string that will be used when creating the bridge sender. This is the filter string that is applied to the local subscription used to filter which message are actually sent to the remote broker.- Returns:
- the filter string in use for the bridge sender.
-
getPriority
int getPriority()Gets the priority value that will be requested for the local subscription that feeds this bridge sender with messages to send to the remote.- Returns:
- the assigned sender priority for the bridge sender.
-