public static interface SlaveTopicDetails.Builder extends TopicDetails.Builder<SlaveTopicDetails.Builder,SlaveTopicDetails>
Modifier and Type | Method and Description |
---|---|
SlaveTopicDetails.Builder |
masterTopic(String topicPath)
Sets the master topic path.
|
build, property, reference, reset, tidyOnUnsubscribe
SlaveTopicDetails.Builder masterTopic(String topicPath) throws IllegalArgumentException
This must identify an existing topic that is
stateful
and is not another slave
topic. This will be validated at a server and will result in a
TopicAddFailReason.TOPIC_NOT_FOUND
error if this is not the
case.
topicPath
- the path of the master topicIllegalArgumentException
- if topicPath
is nullCopyright © 2016 Push Technology Ltd. All Rights Reserved.