public interface TopicResolverProvider
TopicResolverProvider provides TopicResolver for messages being sent
over a service channel.
The platform provides code generation utilities to generate static topic resolvers based
on the channel key defined in the service xml, but in some cases the application can
more efficiently resolve the topic, and in such cases may want to provide their own
TopicResolvers.
NoteTopic Resolvers are currently an experimental feature.
| Modifier and Type | Method and Description |
|---|---|
TopicResolver<?> |
getTopicResolver(ToaService service,
ToaServiceChannel channel,
Class<?> messageType)
Looks up a
TopicResolver for the given service and channel. |
TopicResolver<?> getTopicResolver(ToaService service, ToaServiceChannel channel, Class<?> messageType)
TopicResolver for the given service and channel.service - The service that defines the channel.channel - The channel.Copyright © 2016 N5 Technologies, Inc. All Rights Reserved.