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, toString
public 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
Exception
protected ClientSessionFactoryInternal createSessionFactory() throws Exception
createSessionFactory
in class BridgeImpl
Exception
protected ServerMessage beforeForward(ServerMessage message)
beforeForward
in class BridgeImpl
protected void afterConnect() throws Exception
afterConnect
in class BridgeImpl
Exception
public void stop() throws Exception
stop
in interface HornetQComponent
stop
in class BridgeImpl
Exception
protected void tryScheduleRetryReconnect(int code)
tryScheduleRetryReconnect
in class BridgeImpl
protected void fail(boolean permanently)
fail
in class BridgeImpl
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.