djsuperchief / Kyameru

Kyameru is a business processing engine inspired by Apache Camel and built for .Net Core.
https://djsuperchief.github.io/Kyameru/
MIT License
2 stars 1 forks source link

Event trigger mechanism #66

Closed djsuperchief closed 6 months ago

djsuperchief commented 3 years ago

Not all components will be able to rely on a hook to an external event and will need a push to trigger the route. The SQL component will need a trigger to start the route going and without it is a non-starter.

MVP should be an injected singleton with events that are subscribed to in several from components.

A later stage should be more an observable pattern but not required for an initial implementation.

djsuperchief commented 6 months ago

I am not sure this should be a thing. Why would we want this? The whole point of a from component is to be the originating event. If this was to be implemented, what would be the literal point of the entire framework?