public interface HttpBridgeRegistryClient
| Modifier and Type | Method and Description |
|---|---|
CompletionStage<Void> |
register(String endpointUrl,
String channelId)
Registers the given endpoint URL as the recipient for messages received in the broker at the given topic.
|
CompletionStage<Void> register(String endpointUrl, String channelId)
Implementations should prefer to perform the registration asynchronously and provide a completion stage as result, which can be used by the caller to specify any actions which need to be taken upon completion (successfully or otherwise) of the registration.
endpointUrl - the endpoint URL to forward messages to.channelId - the channel ID which will be used to calculate the topic forCopyright © 2019. All rights reserved.