jkanschik / node-eip

Implementation of the Enterprise Integration Patterns (EIP) for node.js
5 stars 1 forks source link

Concept for configuration #7

Open jkanschik opened 12 years ago

jkanschik commented 12 years ago

We need a concept for the configuration of routes and processors.

eip.config.routes: global configuration for all routes. eip.config.processors: global configuration for all processors ? eip.config.processors.log: global configuration for all processors registered with "log".

new Route({someOption:true}): overwrite global options for this route

.log("...", {someOption:true}): overwrite global options for this processor.