primarySubscribe
public <T> BrokerClientSubscription<T> primarySubscribe(String topic,
Class<T> clazz,
BrokerClientCallback<T> callback)
Subscribe to message broker on the primary node.
CtxEventListener, ContextHandleAware, HandleAware, Ready, ReadyListenerBrokerClient(NodeId selfNode,
boolean isPrimary) <T> BrokerClientSubscription<T>aliasSubscribe(String alias,
String topic,
Class<T> clazz,
BrokerClientCallback<T> callback) <T> BrokerClientSubscription<T>localSubscribe(String topic,
Class<T> clazz,
BrokerClientCallback<T> callback) <T> BrokerClientSubscription<T>nodeSubscribe(NodeId node,
String topic,
Class<T> clazz,
BrokerClientCallback<T> callback) <T> BrokerClientSubscription<T>primarySubscribe(String topic,
Class<T> clazz,
BrokerClientCallback<T> callback) voidunsubscribe(BrokerClientSubscription<?> subscription) getHandle, getHandlePrefixgetReady, onBeanReady, onDependenciesReadyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonCtxAutowiringCompleted, onCtxDestroyed, onCtxPhaseCompletedaddHandleChild, getName, getPathonDependenciesGroupReadyselfNode - the node we're running onisPrimary - true if the node we're running on is the primary nodesubscription - the subscription returned from a subscription call.