org.smartcomps.twister.engine.priv.messaging
Interface MessageController
- All Known Implementing Classes:
- MessageControllerImpl
- public interface MessageController
Controls message received by the engine, check if they are relevant
to any process of process instance and if so do the appropriate thing
to the appropriate activity or execution context.
The received message must have a root element named 'message' that
contains all message parts.
Method Summary |
org.smartcomps.twister.engine.priv.core.dynamic.ReceiveEC |
acknowledge(java.lang.String partnerLink,
java.lang.String portType,
java.lang.String operation,
org.dom4j.Document message)
Processes provided message checking if an existing execution context is waiting
for this message to complete or if this message can trigger the execution of a
new process. |
acknowledge
public org.smartcomps.twister.engine.priv.core.dynamic.ReceiveEC acknowledge(java.lang.String partnerLink,
java.lang.String portType,
java.lang.String operation,
org.dom4j.Document message)
throws CorrelationViolationException,
ConflictingReceiveException
- Processes provided message checking if an existing execution context is waiting
for this message to complete or if this message can trigger the execution of a
new process.
The received message must have a root element named 'message' that
contains all message parts.
- Parameters:
partnerLink
- portType
- operation
- message
-
- Returns:
- Document reply to the message (everything fine or error)
CorrelationViolationException
ConflictingReceiveException
Copyright © 2003 SmartComps. All Rights Reserved.