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
MessageDispatchTargetHandle
flags
- SolEnum.SubscribeFlags
correlationKey
- integerSolEnum.ReturnCode
SolclientException
java.lang.IllegalArgumentException
- if the MutableMessageDispatchTargetHandle is not a usable unbound handle.int unsubscribe(MessageDispatchTargetHandle in_out_msgDispatchTargetHandle, int flags, long correlationKey) throws SolclientException
in_out_msgDispatchTargetHandle
- A bound
MessageDispatchTargetHandle
flags
- SolEnum.SubscribeFlags
correlationKey
- integerSolEnum.ReturnCode
SolclientException
java.lang.IllegalArgumentException
- if the MutableMessageDispatchTargetHandle 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
MutableMessageDispatchTargetHandle
subscription
- MutableTopic
messagecallback
- MessageCallback
isLocalDispatchOnly
- indicates if this Dispatch target is for Local delivery
only.flags
- SolEnum.SubscribeFlags
correlationKey
- integerSolEnum.ReturnCode
SolclientException
java.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
MutableMessageDispatchTargetHandle
flags
- SolEnum.SubscribeFlags
correlationKey
- integerSolEnum.ReturnCode
SolclientException
java.lang.IllegalArgumentException
- if the MutableMessageDispatchTargetHandle is not a usable bound handle.Copyright 2004-2024 Solace Corporation. All rights reserved.