One way to see where your conversations start and end is to use the Seam event model to observe the conversation start and ends.
@Name("conversationListener")
@Scope(STATELESS)
public class ConversationListenerBean implements ConversationListener {
@Logger
private Log log;
@In
private Conversation conversation;
@Observer(value="org.jboss.seam.beginConversation")
public void observeConversationStart() {
log.debug("Conversation #0 Started",conversation.getId());
}
@Observer(value="org.jboss.seam.endConversation")
public void observeConversationEnd() {
log.debug("Conversation #0 Ended",conversation.getId());
}
}
Just add this bean into your project and it will automatically log when you start and end conversations.
Location :