Package io.github.cfraser.moka
See: Description
-
Class Summary Class Description MessagingApplicationBuilder MessagingApplicationBuilder builds a MessagingApplication, which encapsulates (manages the execution of) MessagingComponent instances. MessagingComponentBuilder The MessagingComponentBuilder abstract class defines common properties and functions for MessagingComponent builders. PublisherBuilder PublisherBuilder builds a MessagingComponent instance that periodically publishes messages to a Topic. SubscriberBuilder SubscriberBuilder builds a MessagingComponent instance that handles messages received from subscribing to a Topic. ForwardingSubscriberBuilder ForwardingSubscriberBuilder builds a MessagingComponent instance that receives messages from subscribing to a Topic and can publish the result of processing the received messages to another Topic. CronSchedule A CronSchedule is a Schedule implementation that uses a com.cronutils.model.Cron expression to determine the next execution time. FixedIntervalSchedule A FixedIntervalSchedule is a Schedule implementation that executes on a fixed interval. InitialDelaySchedule An InitialDelaySchedule is a Schedule which executes after the initialDelay for the first execution, subsequent execution times will be determined by the provided schedule. MokaKt -
Object Summary Object Description Companion Moka The Moka object builds and manages the execution of a MessagingApplication. -
Interface Summary Interface Description Config The Config interface defines functions that provide access to configuration values by path. MessageHandler A MessageHandler is a type representing a suspendable function that is a callback which is executed when a message is received. MessageGenerator A MessageGenerator is a type representing a suspendable function that has the ability to generate a Flow of messages. MessageHandlerGenerator A MessageHandlerGenerator is a type representing a suspendable function that is a callback, that generates a Flow of messages, which is executed when a message is received. Serializer Serializer is a type that represents a function that is a serialization transformation (converts the given instance into bytes). Deserializer Deserializer is a type that represents a function that is a deserialization transformation (converts the given bytes into an instance). MessagingApplication MessagingApplication is the process that manages the execution of a MessagingComponent instances. MessagingComponent MessagingComponent is a generic type that represents a subprocess that publishes and/or subscribes to a Topic. Schedule A Schedule represents a type that can calculate the next execution time based on the current time and previous execution time.