you may assign pooled actors with an AssignmentHandler
for example with processdefinition.xml like this:
<task name="test">
| <assignment class="RoleAssignmentHandler">
| </assignment>
| </task>
|
then create class RoleAssignmentHandler :
public class RoleAssignmentHandler implements AssignmentHandler {
|
| public void assign(Assignable assignable, ExecutionContext
executionContext) throws Exception {
| String[] actors = {"Bill","John"};
| assignable.setPooledActors(actors);
| }
|
| }
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101230#4101230
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101230
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user