On Tue, 23 Oct 2001, Guy Rouillier wrote: > Yes, with some proper design this can work across distributed systems. The > tricky part would be identifying which task a newly arriving message should > go to. Ideally, you don't want the message to carry state information, but > I think that will be unavoidable. Say the workflow for a particular message > goes through tasks A-1, B-2, A-3 and B-4 (where A and B are different > servers per your example.) If no state is carried with the message, then > when B sees the message, it won't know whether the message should go to task > 2 or task 4. I think the only state you need is the target task. (or > perhaps the last task completed). If a message arrives with target task = > null, as it would at A the first time, that is an indication that workflow > has not started yet, so A should process the message at the start of its > workflow.
So you're saying that the info is stored in the message, and in config in the servers? ie. When a server receives a message for B-2 it knows the next destination must be A-3? Doesn't quite add up... how does one reuse tasks individually. What I had been thinking was having the initial destination populate the complete list of tasks (based on a config file) and send the message on its way. So A-1 may in fact not do anything, apart from create the message path of B-2, A-3, B-4 and send the message again. This way the configuration is confined to "B". Suppose I know of a JBoss server somewhere accepting SOAP/SMTP messages in this format, and I want to use some functionality there, before doing something, then I wouldn't (presumably) be able to change the cnfig on that server.... am I making sense/did I understand what you suggested? cheers dim _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
