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, createPacketDecoder, createSessionContext, createSessionContext, getChannel0, getChannel1, getCurrentConnection, getName, getSessionFactory, isAlive, lockSessionCreation, ping, setExecutor, setSessionFactory, stop, waitOnLatch
protected void sendHandshake(Connection transportConnection)
sendHandshake
in class ActiveMQClientProtocolManager
protected SessionContext newSessionContext(String name, int confirmationWindowSize, Channel sessionChannel, CreateSessionResponseMessage response)
newSessionContext
in class ActiveMQClientProtocolManager
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)
newCreateSessionPacket
in class ActiveMQClientProtocolManager
public void sendSubscribeTopology(boolean isServer)
sendSubscribeTopology
in interface ClientProtocolManager
sendSubscribeTopology
in class ActiveMQClientProtocolManager
public boolean checkForFailover(String liveNodeID) throws ActiveMQException
checkForFailover
in interface ClientProtocolManager
checkForFailover
in class ActiveMQClientProtocolManager
ActiveMQException
protected ClusterTopologyChangeMessage updateTransportConfiguration(ClusterTopologyChangeMessage topMessage)
updateTransportConfiguration
in class ActiveMQClientProtocolManager
Copyright © 2021 JBoss by Red Hat. All rights reserved.