org.smartcomps.twister.engine.priv.messaging.impl
Class DefaultMessageBrokerImpl
java.lang.Object
|
+--org.smartcomps.twister.engine.priv.messaging.MessageBroker
|
+--org.smartcomps.twister.engine.priv.messaging.impl.DefaultMessageBrokerImpl
- public class DefaultMessageBrokerImpl
- extends MessageBroker
A default implementation of the MessageBroker interface that
does absolutely nothing.
Method Summary |
void |
asyncSend(java.lang.String partner,
java.lang.String portType,
java.lang.String operation,
org.dom4j.Document message)
Implement this method in your subclass to receive messages from the process
engine and execute your own tasks accordingly. |
static org.dom4j.Document |
getMessage(java.lang.String partner,
java.lang.String portType,
java.lang.String operation)
|
org.dom4j.Document |
syncSend(java.lang.String partner,
java.lang.String portType,
java.lang.String operation,
org.dom4j.Document message)
Implement this method in your subclass to receive messages from the process
engine and execute your own tasks accordingly. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultMessageBrokerImpl
public DefaultMessageBrokerImpl()
asyncSend
public void asyncSend(java.lang.String partner,
java.lang.String portType,
java.lang.String operation,
org.dom4j.Document message)
- Description copied from class:
MessageBroker
- Implement this method in your subclass to receive messages from the process
engine and execute your own tasks accordingly. Keep in mind that the provided
message can be null if we're simply invoking a service with no input parameter.
- Specified by:
asyncSend
in class MessageBroker
- Parameters:
partner
- portType
- operation
- message
-
syncSend
public org.dom4j.Document syncSend(java.lang.String partner,
java.lang.String portType,
java.lang.String operation,
org.dom4j.Document message)
- Description copied from class:
MessageBroker
- Implement this method in your subclass to receive messages from the process
engine and execute your own tasks accordingly. Keep in mind that the provided
message can be null if we're simply invoking a service with no input parameter.
- Specified by:
syncSend
in class MessageBroker
- Parameters:
partner
- portType
- operation
- message
-
- Returns:
getMessage
public static org.dom4j.Document getMessage(java.lang.String partner,
java.lang.String portType,
java.lang.String operation)
Copyright © 2003 SmartComps. All Rights Reserved.