Interface Bridge
-
- All Superinterfaces:
ActiveMQComponent,Consumer,PriorityAware
- All Known Implementing Classes:
BridgeImpl,ClusterConnectionBridge
public interface Bridge extends Consumer, ActiveMQComponent
A Core Bridge
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddisconnect()To be called when the server sent a disconnect to the client.voidflushExecutor()BridgeConfigurationgetConfiguration()SimpleStringgetForwardingAddress()RemotingConnectiongetForwardingConnection()BridgeMetricsgetMetrics()SimpleStringgetName()QueuegetQueue()booleanisConnected()voidpause()voidresume()voidsetNotificationService(NotificationService notificationService)-
Methods inherited from interface org.apache.activemq.artemis.core.server.ActiveMQComponent
asyncStop, isStarted, start, stop
-
Methods inherited from interface org.apache.activemq.artemis.core.server.Consumer
debug, errorProcessing, failed, getBinding, getDeliveringMessages, getFilter, getPriority, handle, isClosed, proceedDeliver, promptDelivery, sequentialID, supportsDirectDelivery, toManagementString
-
-
-
-
Method Detail
-
getName
SimpleString getName()
-
getQueue
Queue getQueue()
-
getForwardingAddress
SimpleString getForwardingAddress()
-
flushExecutor
void flushExecutor()
-
setNotificationService
void setNotificationService(NotificationService notificationService)
-
getForwardingConnection
RemotingConnection getForwardingConnection()
-
disconnect
void disconnect()
To be called when the server sent a disconnect to the client. Basically this is for cluster bridges being disconnected- Specified by:
disconnectin interfaceConsumer
-
isConnected
boolean isConnected()
-
getMetrics
BridgeMetrics getMetrics()
-
getConfiguration
BridgeConfiguration getConfiguration()
-
-