public abstract class AbstractJavaSequence extends Object implements JavaClassSequence
Constructor and Description |
---|
AbstractJavaSequence() |
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Destroys the sequence (e.g.
|
abstract void |
execute(Message msg,
Mediation mediation)
Executes the Java code sequence with the available message
|
void |
init(Configuration config)
Initializes the sequence with the current Configuration
Note: a sequence may be initialized, before the ESB decides to send any messages to it.
|
public abstract void execute(Message msg, Mediation mediation) throws Exception
execute
in interface JavaCodeSnippetSequence
msg
- current message to execute the Java code snippet sequence withmediation
- a reference to the mediation utilitiesException
- on an exception thrown by the sequence implementationpublic void init(Configuration config)
JavaClassSequence
init
in interface JavaClassSequence
config
- the current Configuration of the UltraESBpublic void destroy()
JavaClassSequence
destroy
in interface JavaClassSequence
Copyright © 2010–2016 AdroitLogic. All rights reserved.