public class ClusterConnectionBridge extends BridgeImpl
executor, futureScheduledReconnection, scheduledExecutor, serverLocator, session| Constructor and Description |
|---|
ClusterConnectionBridge(ClusterConnection clusterConnection,
ClusterManagerInternal clusterManager,
ServerLocatorInternal targetLocator,
ServerLocatorInternal discoveryLocator,
int reconnectAttempts,
long retryInterval,
double retryMultiplier,
long maxRetryInterval,
UUID nodeUUID,
long targetNodeEventUID,
String targetNodeID,
SimpleString name,
Queue queue,
Executor executor,
SimpleString filterString,
SimpleString forwardingAddress,
ScheduledExecutorService scheduledExecutor,
Transformer transformer,
boolean useDuplicateDetection,
String user,
String password,
boolean activated,
StorageManager storageManager,
SimpleString managementAddress,
SimpleString managementNotificationAddress,
MessageFlowRecord flowRecord,
TransportConfiguration connector) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
afterConnect() |
protected ServerMessage |
beforeForward(ServerMessage message) |
protected ClientSessionFactoryInternal |
createSessionFactory() |
protected void |
fail(boolean permanently) |
void |
stop() |
protected void |
tryScheduleRetryReconnect(int code) |
activate, beforeReconnect, connect, connectionFailed, debug, disconnect, flushExecutor, getCurrentFactory, getDuplicateBytes, getExecutor, getFilter, getForwardingAddress, getForwardingConnection, getName, getQueue, getTransformer, handle, isConnected, isStarted, isUseDuplicateDetection, pause, resume, scheduleRetryConnect, scheduleRetryConnectFixedTimeout, sendAcknowledged, setNotificationService, start, toStringpublic ClusterConnectionBridge(ClusterConnection clusterConnection, ClusterManagerInternal clusterManager, ServerLocatorInternal targetLocator, ServerLocatorInternal discoveryLocator, int reconnectAttempts, long retryInterval, double retryMultiplier, long maxRetryInterval, UUID nodeUUID, long targetNodeEventUID, String targetNodeID, SimpleString name, Queue queue, Executor executor, SimpleString filterString, SimpleString forwardingAddress, ScheduledExecutorService scheduledExecutor, Transformer transformer, boolean useDuplicateDetection, String user, String password, boolean activated, StorageManager storageManager, SimpleString managementAddress, SimpleString managementNotificationAddress, MessageFlowRecord flowRecord, TransportConfiguration connector) throws Exception
Exceptionprotected ClientSessionFactoryInternal createSessionFactory() throws Exception
createSessionFactory in class BridgeImplExceptionprotected ServerMessage beforeForward(ServerMessage message)
beforeForward in class BridgeImplprotected void afterConnect()
throws Exception
afterConnect in class BridgeImplExceptionpublic void stop()
throws Exception
stop in interface HornetQComponentstop in class BridgeImplExceptionprotected void tryScheduleRetryReconnect(int code)
tryScheduleRetryReconnect in class BridgeImplprotected void fail(boolean permanently)
fail in class BridgeImplCopyright © 2012 JBoss by Red Hat. All Rights Reserved.