1 Reply Latest reply on Jan 5, 2007 7:01 PM by Norman Richards

    dynamically setting conversation timeout

    Maria Consuelo Franky Newbie

      I want to set dynamically the timeout of current conversation through the method org.jboss.seam.core.Conversation.setTimeout() but this method seems not to have no effect as I explains next:

      in a stateful ejb, in the method that launches a conversation I code:

      import org.jboss.seam.core.Conversation;
      private Conversation conversation;
      public String selectHotel(Hotel selectedHotel) {

      but in the subsequent method of the conversation the instruction conversation.getTimeout() shows the value set for conversation-timeout in components.xml instead of 600000.

      Thanks for any help or explanation about this behavior.

      Maria Consuelo Franky