anonymous wrote : 
  | What did you mean by:
  | Quote:
  | 
  | the wait state will return the thread of control to the caller
  | 

That is when e.g. a call token.signal() or task.end() really returns. If there 
are no wait-states, the process continues to the end. 

signalling tokens happens in (mainly) by a caller:
- a webapp e.g. ends a task
- a timer goes off
- MDB
- webservice

In both cases after signalling you can close the context unless you want STP 
like functionality and want to continue signalling (in that case you would not 
have needed a waitstate (state, task-node) but could have used a regular node. 


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

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

Reply via email to