Interface Bridge
- All Superinterfaces:
ActiveMQComponent,Consumer,PriorityAware
- All Known Implementing Classes:
BridgeImpl,ClusterConnectionBridge
A Core Bridge
-
Method Summary
Modifier and TypeMethodDescriptionvoidTo be called when the server sent a disconnect to the client.voidgetName()getQueue()booleanvoidpause()voidresume()voidsetNotificationService(NotificationService notificationService) Methods inherited from interface org.apache.activemq.artemis.core.server.ActiveMQComponent
asyncStop, isStarted, start, stopMethods 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 Details
-
getName
SimpleString getName() -
getQueue
Queue getQueue() -
getForwardingAddress
SimpleString getForwardingAddress() -
flushExecutor
void flushExecutor() -
setNotificationService
-
getForwardingConnection
RemotingConnection getForwardingConnection() -
pause
- Throws:
Exception
-
resume
- Throws:
Exception
-
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()
-