public class ClusterConnectionBridge extends BridgeImpl
Such as such adding extra properties and setting up notifications between the nodes.
executor, futureScheduledReconnection, queue, 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,
String storeAndForwardPrefix) |
Modifier and Type | Method and Description |
---|---|
protected void |
afterConnect() |
protected Message |
beforeForward(Message message,
SimpleString forwardingAddress) |
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 void |
nodeUP(TopologyMember member,
boolean last) |
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, isBlockedOnFlowControl, isConnected, isStarted, onCreditsFail, onCreditsFlow, pause, proceedDeliver, readyForWriting, reconnectOnOriginalNode, resume, scheduleRetryConnect, scheduleRetryConnectFixedTimeout, sendAcknowledged, sequentialID, setNotificationService, setSessionFactory, start, stop, toManagementString, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
supportsDirectDelivery
public 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, String storeAndForwardPrefix)
protected ClientSessionFactoryInternal createSessionFactory() throws Exception
createSessionFactory
in class BridgeImpl
Exception
protected Message beforeForward(Message message, SimpleString forwardingAddress)
beforeForward
in class BridgeImpl
public static String createSelectorFromAddress(String address)
address
- protected void nodeUP(TopologyMember member, boolean last)
nodeUP
in class BridgeImpl
protected void afterConnect() throws Exception
afterConnect
in class BridgeImpl
Exception
protected void tryScheduleRetryReconnect(ActiveMQExceptionType type)
tryScheduleRetryReconnect
in class BridgeImpl
protected void fail(boolean permanently)
fail
in class BridgeImpl
Copyright © 2018 JBoss by Red Hat. All rights reserved.