Interface Binding
-
- All Superinterfaces:
UnproposalListener
- All Known Subinterfaces:
QueueBinding,RemoteQueueBinding
- All Known Implementing Classes:
DivertBinding,LocalQueueBinding,RemoteQueueBindingImpl
public interface Binding extends UnproposalListener
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidclose()SimpleStringgetAddress()BindablegetBindable()SimpleStringgetClusterName()intgetDistance()FiltergetFilter()LonggetID()SimpleStringgetRoutingName()BindingTypegetType()SimpleStringgetUniqueName()booleanisConnected()booleanisExclusive()booleanisHighAcceptPriority(Message message)default booleanisLocal()voidroute(Message message, RoutingContext context)voidrouteWithAck(Message message, RoutingContext context)StringtoManagementString()This method will create a string representation meant for management operations.-
Methods inherited from interface org.apache.activemq.artemis.core.server.group.UnproposalListener
unproposed
-
-
-
-
Method Detail
-
isLocal
default boolean isLocal()
-
getAddress
SimpleString getAddress()
-
getBindable
Bindable getBindable()
-
getType
BindingType getType()
-
getUniqueName
SimpleString getUniqueName()
-
getRoutingName
SimpleString getRoutingName()
-
getClusterName
SimpleString getClusterName()
-
getFilter
Filter getFilter()
-
isHighAcceptPriority
boolean isHighAcceptPriority(Message message)
-
isExclusive
boolean isExclusive()
-
getID
Long getID()
-
getDistance
int getDistance()
-
route
void route(Message message, RoutingContext context) throws Exception
- Throws:
Exception
-
routeWithAck
void routeWithAck(Message message, RoutingContext context) throws Exception
- Throws:
Exception
-
toManagementString
String toManagementString()
This method will create a string representation meant for management operations.This is different from the toString() method that is meant for debugging and will contain information that regular users won't understand well.
- Returns:
-
isConnected
boolean isConnected()
-
-