public class ClusterConnectionBridge extends BridgeImpl
Such as such adding extra properties and setting up notifications between the nodes.
executor, futureScheduledReconnection, scheduledExecutor, serverLocator, session, sessionConsumer, targetNode, targetNodeID| Constructor and Description |
|---|
ClusterConnectionBridge(ClusterConnection clusterConnection,
ClusterManager clusterManager,
ServerLocatorInternal targetLocator,
ServerLocatorInternal discoveryLocator,
int initialConnectAttempts,
int reconnectAttempts,
long retryInterval,
double retryMultiplier,
long maxRetryInterval,
UUID nodeUUID,
long targetNodeEventUID,
String targetNodeID,
SimpleString name,
Queue queue,
Executor executor,
Filter filterString,
SimpleString forwardingAddress,
ScheduledExecutorService scheduledExecutor,
Transformer transformer,
boolean useDuplicateDetection,
String user,
String password,
ActiveMQServer server,
SimpleString managementAddress,
SimpleString managementNotificationAddress,
MessageFlowRecord flowRecord,
TransportConfiguration connector) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
afterConnect() |
protected ServerMessage |
beforeForward(ServerMessage message) |
static String |
buildSelectorFromArray(String[] list) |
static String |
createSelectorFromAddress(String address)
Takes in a string of an address filter or comma separated list and generates an appropriate JMS selector for
filtering queues.
|
protected ClientSessionFactoryInternal |
createSessionFactory() |
protected void |
fail(boolean permanently) |
protected boolean |
isPlainCoreBridge() |
protected void |
tryScheduleRetryReconnect(ActiveMQExceptionType type) |
activate, beforeReconnect, connect, connectionFailed, connectionFailed, debug, disconnect, flushExecutor, getCSF, getDeliveringMessages, getDuplicateBytes, getExecutor, getFilter, getForwardingAddress, getForwardingConnection, getName, getQueue, getSessionFactory, getTargetNodeFromTopology, getTransformer, handle, isConnected, isStarted, pause, proceedDeliver, readyForWriting, resume, scheduleRetryConnect, scheduleRetryConnectFixedTimeout, sendAcknowledged, setNotificationService, setSessionFactory, start, stop, toManagementString, toStringpublic ClusterConnectionBridge(ClusterConnection clusterConnection, ClusterManager clusterManager, ServerLocatorInternal targetLocator, ServerLocatorInternal discoveryLocator, int initialConnectAttempts, int reconnectAttempts, long retryInterval, double retryMultiplier, long maxRetryInterval, UUID nodeUUID, long targetNodeEventUID, String targetNodeID, SimpleString name, Queue queue, Executor executor, Filter filterString, SimpleString forwardingAddress, ScheduledExecutorService scheduledExecutor, Transformer transformer, boolean useDuplicateDetection, String user, String password, ActiveMQServer server, SimpleString managementAddress, SimpleString managementNotificationAddress, MessageFlowRecord flowRecord, TransportConfiguration connector)
protected ClientSessionFactoryInternal createSessionFactory() throws Exception
createSessionFactory in class BridgeImplExceptionprotected ServerMessage beforeForward(ServerMessage message)
beforeForward in class BridgeImplpublic static String createSelectorFromAddress(String address)
address - protected void afterConnect()
throws Exception
afterConnect in class BridgeImplExceptionprotected void tryScheduleRetryReconnect(ActiveMQExceptionType type)
tryScheduleRetryReconnect in class BridgeImplprotected void fail(boolean permanently)
fail in class BridgeImplprotected boolean isPlainCoreBridge()
isPlainCoreBridge in class BridgeImplCopyright © 2018 JBoss by Red Hat. All rights reserved.