Interface AnswerActionBuilder<T>

  • Type Parameters:
    T - the type of the message
    All Known Subinterfaces:
    AnswerStep1Builder<T>, AnswerStep2Builder<T>
    All Known Implementing Classes:
    AnswerBuilder

    public interface AnswerActionBuilder<T>
    Last step in defining the answer to a message. This step sets the consuming action.
    • Method Detail

      • using

        SubscriptionId using​(Consumer<T> consumer)
        Defines how to react to the message.
        Parameters:
        consumer - the consumer to be applied on the message
        Returns:
        the SubscriptionId of the answer