com.neeve.toa.spi
Interface TopicResolverProvider

All Known Implementing Classes:
GeneratedTopicResolverProvider

public interface TopicResolverProvider

A 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.


Method Summary
 TopicResolver<?> getTopicResolver(ToaService service, ToaServiceChannel channel, Class<?> messageType)
          Looks up a TopicResolver for the given service and channel.
 

Method Detail

getTopicResolver

TopicResolver<?> getTopicResolver(ToaService service,
                                  ToaServiceChannel channel,
                                  Class<?> messageType)
Looks up a TopicResolver for the given service and channel.

Parameters:
service - The service that defines the channel.
channel - The channel.


Copyright © 2016 Neeve Research, LLC. All Rights Reserved.