Interface DestinationTopicProcessor
-
- All Known Implementing Classes:
DefaultDestinationTopicProcessor
public interface DestinationTopicProcessorTheDestinationTopicProcessorcreates and registers theDestinationTopicinstances in the providedDestinationTopicProcessor.Context, also providing callback interfaces to be called upon the context properties.- Since:
- 2.7
- Author:
- Tomaz Fernandes
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classDestinationTopicProcessor.Context
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidprocessDestinationTopicProperties(java.util.function.Consumer<DestinationTopic.Properties> destinationPropertiesProcessor, DestinationTopicProcessor.Context context)Process the destination properties.voidprocessRegisteredDestinations(java.util.function.Consumer<java.util.Collection<java.lang.String>> topicsConsumer, DestinationTopicProcessor.Context context)Process the registered destinations.voidregisterDestinationTopic(java.lang.String mainTopicName, java.lang.String destinationTopicName, DestinationTopic.Properties destinationTopicProperties, DestinationTopicProcessor.Context context)Register the destination topic.
-
-
-
Method Detail
-
processDestinationTopicProperties
void processDestinationTopicProperties(java.util.function.Consumer<DestinationTopic.Properties> destinationPropertiesProcessor, DestinationTopicProcessor.Context context)
Process the destination properties.- Parameters:
destinationPropertiesProcessor- the processor.context- the context.
-
processRegisteredDestinations
void processRegisteredDestinations(java.util.function.Consumer<java.util.Collection<java.lang.String>> topicsConsumer, DestinationTopicProcessor.Context context)Process the registered destinations.- Parameters:
topicsConsumer- the consumer.context- the context.
-
registerDestinationTopic
void registerDestinationTopic(java.lang.String mainTopicName, java.lang.String destinationTopicName, DestinationTopic.Properties destinationTopicProperties, DestinationTopicProcessor.Context context)Register the destination topic.- Parameters:
mainTopicName- the main topic name.destinationTopicName- the destination topic name.destinationTopicProperties- the destination topic properties.context- the context.
-
-