Hi Gavin,

I added the issue and the test case, you can find them here:
http://jira.jboss.com/jira/browse/JBSEAM-976

I'm also trying to create a test case for the forum post:
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=102935

in order to understand if I can better explain what happens in my application, 
but, please can you have a glance at that, maybe I misunderstood something...

Thank you.


Hi Lle,

the problem is this one: in the documentation (6.6) there's a description of 
the Seam behaviour when multiple calls are made on the @Begin method of a 
conversation with a given ID; the behaviour expected is to avoid to call more 
than once the @Begin method, i.e. the first request which needs the creation of 
a conversation with a given ID causes the @Begin method call, further requests 
on that ID should skip the execution of such method; but this seems not to 
happen (at least to me).

the solution is straightforward: even if the @Begin method is called more than 
once Seam retrieves the correct conversation with it's status, then:


  | 
  | private boolean passed = false;
  | 
  | @Begin(join=true, id="<whateveryouneed>")
  | public String startConversation() {
  |     if(! passed) {
  |        passed = true;
  |        // initialization here
  |     }
  | }
  | 

Regards,
Raffaele Camanzo


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

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

Reply via email to