public interface MessageDispatcher
SessionHandle
or FlowHandle| Modifier and Type | Method and Description |
|---|---|
int |
subscribe(MessageDispatchTargetHandle in_out_msgDispatchTargetHandle,
int flags,
long correlationKey) |
int |
subscribe(MutableMessageDispatchTargetHandle in_out_mutableMessageDispatchTargetHandle,
MutableTopic subscription,
MessageCallback messagecallback,
boolean isLocalDispatchOnly,
int flags,
long correlationKey) |
int |
unsubscribe(MessageDispatchTargetHandle in_out_msgDispatchTargetHandle,
int flags,
long correlationKey) |
int |
unsubscribe(MutableMessageDispatchTargetHandle in_out_mutableMessageDispatchTargetHandle,
int flags,
long correlationKey) |
int subscribe(MessageDispatchTargetHandle in_out_msgDispatchTargetHandle, int flags, long correlationKey) throws SolclientException
in_out_msgDispatchTargetHandle - An unbound
MessageDispatchTargetHandleflags - SolEnum.SubscribeFlagscorrelationKey - integerSolEnum.ReturnCodeSolclientExceptionjava.lang.IllegalArgumentException - if the MessageDispatchTargetHandle is not a usable unbound handle.int unsubscribe(MessageDispatchTargetHandle in_out_msgDispatchTargetHandle, int flags, long correlationKey) throws SolclientException
in_out_msgDispatchTargetHandle - A bound
MessageDispatchTargetHandleflags - SolEnum.SubscribeFlagscorrelationKey - integerSolEnum.ReturnCodeSolclientExceptionjava.lang.IllegalArgumentException - if the MessageDispatchTargetHandle is not a usable bound handle.int subscribe(MutableMessageDispatchTargetHandle in_out_mutableMessageDispatchTargetHandle, MutableTopic subscription, MessageCallback messagecallback, boolean isLocalDispatchOnly, int flags, long correlationKey) throws SolclientException
in_out_mutableMessageDispatchTargetHandle - An unbound
MutableMessageDispatchTargetHandlesubscription - MutableTopicmessagecallback - MessageCallbackisLocalDispatchOnly - indicates if this Dispatch target is for Local delivery
only.flags - SolEnum.SubscribeFlagscorrelationKey - integerSolEnum.ReturnCodeSolclientExceptionjava.lang.IllegalArgumentException - if the MutableMessageDispatchTargetHandle is not a usable unbound handle.int unsubscribe(MutableMessageDispatchTargetHandle in_out_mutableMessageDispatchTargetHandle, int flags, long correlationKey) throws SolclientException
in_out_mutableMessageDispatchTargetHandle - A bound
MutableMessageDispatchTargetHandleflags - SolEnum.SubscribeFlagscorrelationKey - integerSolEnum.ReturnCodeSolclientExceptionjava.lang.IllegalArgumentException - if the MutableMessageDispatchTargetHandle is not a usable bound handle.Copyright 2004-2025 Solace Corporation. All rights reserved.