|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ContentBasedRouter
Content Based Router Interface. Separates implementation from the runtime, allowing the ESB to support different ways of doing CBR.
Method Summary | |
---|---|
java.util.List<java.lang.String> |
route(java.lang.String ruleSet,
boolean ruleReload,
Message message,
java.util.List<java.lang.Object> objectList)
Route a message using a certain ruleSet. |
java.util.List<java.lang.String> |
route(java.lang.String ruleSet,
java.lang.String ruleLanguage,
boolean ruleReload,
Message message,
java.util.List<java.lang.Object> objectList)
Route a message using a certain ruleSet and reference a custom Domain Specific Language (DSL). |
void |
setConfigTree(ConfigTree configTree)
|
Method Detail |
---|
void setConfigTree(ConfigTree configTree)
java.util.List<java.lang.String> route(java.lang.String ruleSet, java.lang.String ruleLanguage, boolean ruleReload, Message message, java.util.List<java.lang.Object> objectList) throws MessageRouterException
ruleSet
- -
String reference to a file which contains a ruleSet.ruleLanguage
- -
String reference to a file which contais a custom rule
language definitionruleReload
- -
if set to true, a ruleSet update should result in reloading
the ruleSet.message
- -
Message that needs routing.objectList
- - a list with additional objects (typically pulled from the message)
MessageRouterException
java.util.List<java.lang.String> route(java.lang.String ruleSet, boolean ruleReload, Message message, java.util.List<java.lang.Object> objectList) throws MessageRouterException
ruleSet
- -
String reference to a file which contains a ruleSet.ruleReload
- -
if set to true, a ruleSet update should result in reloading
the ruleSet.message
- -
Message that needs routing.objectList
- - a list with additional objects (typically pulled from the message)
MessageRouterException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |