My classes in the custom nodes do very little. I don't understand how these 
would have an impact on wait state which is after they execute.


  | public class ValidateOneRequest implements ActivityBehaviour {
  | 
  |     private static final long serialVersionUID = 1L;
  |     ExperianDetails experianDetails;
  | 
  |     public void execute(ActivityExecution execution) throws Exception {
  |         Thread.sleep(2000);//simulate a delay in processing.
  |         OneDetails oneDetails= 
(OneDetails)execution.getVariable("oneDetails");
  |         oneDetails = update(oneDetails); //update the object in some way 
(change a name)
  |         execution.setVariable("oneDetails", oneDetails);
  |     }
  | }
  | 

I'm working on a unit test, appreciate your feedback so far. I tried to do this 
before but because of the fork the unit test would always fail as the unit test 
thread would continue and fork would not be complete.

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

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

Reply via email to