Class RemoteQueueBindingImpl
java.lang.Object
org.apache.activemq.artemis.core.server.cluster.impl.RemoteQueueBindingImpl
- All Implemented Interfaces:
Binding,QueueBinding,RemoteQueueBinding,UnproposalListener
-
Constructor Summary
ConstructorsConstructorDescriptionRemoteQueueBindingImpl(long id, SimpleString address, SimpleString uniqueName, SimpleString routingName, Long remoteQueueID, SimpleString filterString, Queue storeAndForwardQueue, SimpleString bridgeName, int distance, MessageLoadBalancingType messageLoadBalancingType) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddConsumer(SimpleString filterString) voidclose()voidconnect()intvoidintgetID()getQueue()longgetType()booleanbooleanbooleanisHighAcceptPriority(Message message) voidremoveConsumer(SimpleString filterString) voidreset()voidroute(Message message, RoutingContext context) voidrouteWithAck(Message message, RoutingContext context) voidThis method will create a string representation meant for management operations.toString()voidunproposed(SimpleString groupID)
-
Constructor Details
-
RemoteQueueBindingImpl
public RemoteQueueBindingImpl(long id, SimpleString address, SimpleString uniqueName, SimpleString routingName, Long remoteQueueID, SimpleString filterString, Queue storeAndForwardQueue, SimpleString bridgeName, int distance, MessageLoadBalancingType messageLoadBalancingType) throws Exception - Throws:
Exception
-
-
Method Details
-
getID
-
getAddress
- Specified by:
getAddressin interfaceBinding
-
getBindable
- Specified by:
getBindablein interfaceBinding
-
getQueue
- Specified by:
getQueuein interfaceQueueBinding
-
getRoutingName
- Specified by:
getRoutingNamein interfaceBinding
-
getUniqueName
- Specified by:
getUniqueNamein interfaceBinding
-
getClusterName
- Specified by:
getClusterNamein interfaceBinding
-
isExclusive
public boolean isExclusive()- Specified by:
isExclusivein interfaceBinding
-
getType
-
getFilter
-
getDistance
public int getDistance()- Specified by:
getDistancein interfaceBinding
-
isHighAcceptPriority
- Specified by:
isHighAcceptPriorityin interfaceBinding
-
unproposed
- Specified by:
unproposedin interfaceUnproposalListener
-
route
-
routeWithAck
- Specified by:
routeWithAckin interfaceBinding
-
addConsumer
- Specified by:
addConsumerin interfaceRemoteQueueBinding- Throws:
Exception
-
removeConsumer
- Specified by:
removeConsumerin interfaceRemoteQueueBinding- Throws:
Exception
-
reset
public void reset()- Specified by:
resetin interfaceRemoteQueueBinding
-
consumerCount
public int consumerCount()- Specified by:
consumerCountin interfaceQueueBinding
-
toString
-
toManagementString
Description copied from interface:BindingThis 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.
- Specified by:
toManagementStringin interfaceBinding
-
disconnect
public void disconnect()- Specified by:
disconnectin interfaceRemoteQueueBinding
-
isConnected
public boolean isConnected()- Specified by:
isConnectedin interfaceBinding
-
connect
public void connect()- Specified by:
connectin interfaceRemoteQueueBinding
-
getFilters
-
close
-
getRemoteQueueID
public long getRemoteQueueID()- Specified by:
getRemoteQueueIDin interfaceRemoteQueueBinding
-
setFilter
- Specified by:
setFilterin interfaceRemoteQueueBinding
-
getMessageLoadBalancingType
- Specified by:
getMessageLoadBalancingTypein interfaceRemoteQueueBinding
-