BEAST
|
The Baltrad router that determines all routes. More...
Public Member Functions | |
BltRouter () | |
Constructor. | |
void | setSystemReporter (ISystemReporter reporter) |
Sets the reporter for managing system messages. | |
void | setJdbcTemplate (JdbcOperations template) |
Sets the jdbc template. | |
void | setRuleManagers (Map< String, IRuleManager > ruleManagers) |
Sets the rule managers. | |
void | setSystemRules (SystemRulesDefinition def) |
Sets the system definitions. | |
List< IMultiRoutedMessage > | getMultiRoutedMessages (IBltMessage msg) |
List< IRoutedMessage > | getRoutedMessages (IBltMessage msg) |
synchronized List< String > | getNames () |
synchronized RouteDefinition | getDefinition (String name) |
synchronized List< RouteDefinition > | getDefinitions () |
synchronized List< RouteDefinition > | getDefinitions (List< String > types) |
RouteDefinition | create (String name, String author, boolean active, String description, List< String > recipients, IRule rule) |
synchronized void | deleteDefinition (String name) |
synchronized void | storeDefinition (RouteDefinition def) |
synchronized void | updateDefinition (RouteDefinition def) |
synchronized void | afterPropertiesSet () throws Exception |
Spring framework will call this function after the bean has been created. | |
IRule | createRule (String type) |
void | setContext (ManagerContext context) |
Protected Member Functions | |
List< IMultiRoutedMessage > | getMultiRoutedMessages (IBltMessage msg, RouteDefinition def) |
Used to get the routed messages from a specific rule. | |
List< IRoutedMessage > | getRoutedMessages (IBltMessage msg, RouteDefinition def) |
Used to get the routed messages from a specific rule. | |
synchronized void | removeDefinitionFromList (String name) |
Removes the specified definition from the list. | |
void | storeRecipients (int rule_id, List< String > recipients) |
Stores the recipients. | |
synchronized List< String > | getRecipients (int rule_id) |
Returns the recipients for the routing definition with specified name. | |
RowMapper< RouteDefinition > | getRouteDefinitionMapper () |
Returns the definition mapper. | |
The Baltrad router that determines all routes.
|
inline |
Constructor.
|
inline |
Spring framework will call this function after the bean has been created.
|
inline |
Implements eu.baltrad.beast.router.IRouterManager.
|
inline |
Implements eu.baltrad.beast.router.IRouterManager.
|
inline |
Implements eu.baltrad.beast.router.IRouterManager.
|
inline |
Implements eu.baltrad.beast.router.IRouterManager.
|
inline |
|
inline |
|
inline |
msg | - the message that should result in the multi routed messages. |
Implements eu.baltrad.beast.router.IRouter.
|
inlineprotected |
Used to get the routed messages from a specific rule.
msg | the message |
def | the rule |
|
inline |
|
inlineprotected |
Returns the recipients for the routing definition with specified name.
rule_id | the rule id. |
|
inlineprotected |
Returns the definition mapper.
|
inline |
msg | - the message that should result in the routed messages. |
Implements eu.baltrad.beast.router.IRouter.
|
inlineprotected |
Used to get the routed messages from a specific rule.
msg | the message |
def | the rule |
|
inlineprotected |
Removes the specified definition from the list.
name | the name of the definition that should be removed |
|
inline |
context | the context to set |
|
inline |
Sets the jdbc template.
template | the template |
|
inline |
Sets the rule managers.
ruleManagers | the rule managers to set |
|
inline |
Sets the reporter for managing system messages.
reporter | the reporter to use |
|
inline |
Sets the system definitions.
def | the system definition |
|
inline |
|
inlineprotected |
Stores the recipients.
rule_id | - the rule id |
recipients | a list of recipients |
|
inline |