Warning: This example is turned off, because its not suppored in Quarkus!
This page show a simple example for the @ConversationScoped
annotation.
The Conversationscope is needed for situations when the controller must live longer than a single request,
but don't need to live the whole session.
A @Inject Conversation conversation;
must be injected.
After that a conversation can be started with conversation.begin()
and stopped with
conversation.end()
.
Counting up greater than '1' is only possible when a conversation is started.
stopped
0