public class HornetQClientProtocolManager extends ActiveMQClientProtocolManager
connection, topologyResponseHandler| Constructor and Description |
|---|
HornetQClientProtocolManager() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkForFailover(String liveNodeID) |
protected Packet |
newCreateSessionPacket(Version clientVersion,
String name,
String username,
String password,
boolean xa,
boolean autoCommitSends,
boolean autoCommitAcks,
boolean preAcknowledge,
int minLargeMessageSize,
int confirmationWindowSize,
long sessionChannelID) |
protected SessionContext |
newSessionContext(String name,
int confirmationWindowSize,
Channel sessionChannel,
CreateSessionResponseMessage response) |
protected void |
sendHandshake(Connection transportConnection) |
void |
sendSubscribeTopology(boolean isServer) |
protected ClusterTopologyChangeMessage |
updateTransportConfiguration(ClusterTopologyChangeMessage topMessage) |
addChannelHandlers, cleanupBeforeFailover, connect, createSessionContext, createSessionContext, getChannel0, getChannel1, getCurrentConnection, getName, getPacketDecoder, getSessionFactory, isAlive, lockSessionCreation, ping, setSessionFactory, stop, waitOnLatchprotected void sendHandshake(Connection transportConnection)
sendHandshake in class ActiveMQClientProtocolManagerprotected SessionContext newSessionContext(String name, int confirmationWindowSize, Channel sessionChannel, CreateSessionResponseMessage response)
newSessionContext in class ActiveMQClientProtocolManagerprotected Packet newCreateSessionPacket(Version clientVersion, String name, String username, String password, boolean xa, boolean autoCommitSends, boolean autoCommitAcks, boolean preAcknowledge, int minLargeMessageSize, int confirmationWindowSize, long sessionChannelID)
newCreateSessionPacket in class ActiveMQClientProtocolManagerpublic void sendSubscribeTopology(boolean isServer)
sendSubscribeTopology in interface ClientProtocolManagersendSubscribeTopology in class ActiveMQClientProtocolManagerpublic boolean checkForFailover(String liveNodeID) throws ActiveMQException
checkForFailover in interface ClientProtocolManagercheckForFailover in class ActiveMQClientProtocolManagerActiveMQExceptionprotected ClusterTopologyChangeMessage updateTransportConfiguration(ClusterTopologyChangeMessage topMessage)
updateTransportConfiguration in class ActiveMQClientProtocolManagerCopyright © 2018 JBoss by Red Hat. All rights reserved.