[ 
https://issues.apache.org/jira/browse/KARAF-5844?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jean-Baptiste Onofré updated KARAF-5844:
----------------------------------------
    Fix Version/s:     (was: decanter-2.1.0)
                   decanter-2.2.0

> Add DispatcherProcessing with OSGi services
> -------------------------------------------
>
>                 Key: KARAF-5844
>                 URL: https://issues.apache.org/jira/browse/KARAF-5844
>             Project: Karaf
>          Issue Type: Dependency upgrade
>          Components: decanter
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>            Priority: Major
>             Fix For: decanter-2.2.0
>
>
> Currently, Decanter uses a "flat" workflow: 
> collect-marhsall-dispatch-unmarhsall-append.
> There's no way for an user to add custom processing logic at dispatching 
> level (at bit like the alerting does).
> The idea is to add a {{DispatcherProcessing}} service in the {{Dispatching}} 
> phase. This {{DispatcherProcessing}} will detect and use (whiteboard pattern) 
> {{DispatcherProcesser}} OSGi services. The {{DispatcherProcessor}} interface 
> can look like:
> {code}
> public interface DispatcherProcessor {
>   void Object process(Object collectedEvent);
> }
> {code} 
> {{DispatcherProcessing}} can  use the service ranking property to execute the 
> {{DispatcherProcessors}} in a given order and filter to apply a set of 
> {{DispatcherProcessors}} only on a given {{EventAdmin}} topic.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to