DiffusionTM Publisher API 6.4.2
The Diffusion Publisher API is deprecated and will be removed in a future release.
@Deprecated public interface RoutingTopicDataSubscriptionHandler
a routing topic.
This handler will be responsible for mapping a routing topic to other topics
on a client by client basis. The handler may return the mapping synchronously
when called or may defer the mapping to a call of
Any topic mapped to must have
The option of using a local routing handler is not available for topics created using the client API.
Topic clientSubscriptionRequest(TopicClient client, RoutingTopicData topicData) throws AuthorisationException
If this returns a topic, the client will be subscribed to the specified
topic but from the client point if view it will have been subscribed to
the routing topic. The client will receive all messages published on the
returned topic as if they were from the routing topic. The topic returned
UniversalTopicData attached to it.
If this returns null, no topic will be subscribed at this point in time.
This option allows the method to take the subscription request and
perform some asynchronous subscription request which can ultimately cause
a subscription to a real topic using
RoutingTopicData.subscribe(TopicClient, Topic) method.
In either of the above cases the Topic subscribed to may not be the parent Topic itself.
client- the Client requesting subscription
topicData- identifies the routing topic that the subscription request is being performed on behalf of.
AuthorisationException- if the specified Client is not authorised to be subscribed to the given topic.
Copyright © 2020 Push Technology Ltd. All Rights Reserved.