Example #1
0
 public String testConversation() {
   String value = bean.getValue();
   if (!"foo".equals(value)) {
     throw new IllegalStateException("bean's value was not foo");
   }
   return conversation.getId();
 }
Example #2
0
  public String beginConversation() {
    conversation.begin();
    conversation.setTimeout(500);

    bean.setValue("foo");
    return conversation.getId();
  }