karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Updated] (KARAF-5844) Add DispatcherProcessing with OSGi services
Date Wed, 13 Mar 2019 10:00:00 GMT

     [ 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.2.0)
                   decanter-2.3.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.3.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)

Mime
View raw message