I'd like a call to endNested1() to kill all 3 nested conversations if the if() 
statement evaluates to true for all 3 methods.

What I find is happening though is that only the most nested (deepest) 
conversation gets killed even though Conversation.instance().end(); is being 
called 3 times.

Is there a way to make this work?

public void endNested1() {
  |    endNested2();
  | 
  |    if () 
  |       Conversation.instance().end();
  | }
  | 
  | public void endNested2() {
  |    endNested3();
  |    if () 
  |       Conversation.instance().end();
  | }
  | 
  | public void endNested3() {
  |    Conversation.instance().end();
  | }

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991724#3991724

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991724
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to