Hi, all guys.
I'm trying to use just one long-running conversation, but I don't want to nest or join conversations, so I have this code that works:
if (conversation.isLongRunning()) {
conversation.leave();
}
if (!conversation.isLongRunning()) {
conversation.begin();
conversation.killAllOthers();
}
It does exactly what I want to do, but when killallothers method is called, it doesn't call component's destroy method that belongs to killed conversations.
I hope some one know what to do.