Module aeonics.core

Class Queue


  • public class Queue
    extends Step.Action
    This class represents a queue that can subscribe to one or more topics.

    The queue will deliver downstream messages based on the different parameters and policy.

    • Constructor Detail

      • Queue

        public Queue()
    • Method Detail

      • defaultTarget

        protected java.lang.Class<? extends Queue.Type> defaultTarget()
        Description copied from class: Item
        Returns the default target entity type. This method should be implemented by subclasses to specify the target entity type.
        Overrides:
        defaultTarget in class Step.Action
        Returns:
        the default target entity type
      • defaultCreator

        protected java.util.function.Supplier<? extends Queue.Type> defaultCreator()
        Description copied from class: Item
        Returns the default target entity creator. This method should be implemented by subclasses to specify the entity creator.
        Overrides:
        defaultCreator in class Step.Action
        Returns:
        the default target entity creator
      • template

        public Step.Template template()
        Description copied from class: Item
        Returns the template to build the target entity.

        This method should ultimately be used to provide the final entity template. Although, it may also provide a partial template that subclassed may complement.

        Overrides:
        template in class Step.Action
        Returns:
        the matching entity template