8 Replies Latest reply on Nov 1, 2007 6:35 AM by Fabrizio Boco

    Accessing a different conversation context

    Fabrizio Boco Newbie


      I urgently need your help.

      Suppose that I have two different conversation:

      Conv1 & Conv2

      in which contexts there are two variables (let say v1) that can have different values.

      I am in a statefull bean method binded to Conv2 and I would read the v1 variable into Conv1.

      I have tried the following code:

      System.out.println("Current conversation id "+Manager.instance().getCurrentConversationId());
      V1 v1 = Contexts.getConversationContext().get("v1");

      but v1 is always the value into Conv2 even thought the current conversation id seams has been switched.

      Where I am wrong ?

      Please help me

      Thank you very much indeed.