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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SubscriptionIdusing(Consumer<T> consumer)Defines how to react to the message.
-
-
-
Method Detail
-
using
SubscriptionId using(Consumer<T> consumer)
Defines how to react to the message.- Parameters:
consumer- theconsumerto be applied on the message- Returns:
- the
SubscriptionIdof the answer
-
-