Francois Papon created KARAF-6295:
-------------------------------------

             Summary: Avoid confusion between rest collector and rest-servlet 
collector
                 Key: KARAF-6295
                 URL: https://issues.apache.org/jira/browse/KARAF-6295
             Project: Karaf
          Issue Type: Task
          Components: decanter
            Reporter: Francois Papon
            Assignee: Francois Papon
             Fix For: decanter-2.3.0


The *collector-rest* and the *collector-rest-servlet* define the same package 
and the same class:
{code:java}
org.apache.karaf.decanter.collector.rest
{code}
{code:java}
public class RestCollector
{code}

This is a problem when debugging to match the right source code.

We should update the *collector-rest-servlet* to have:
{code:java}
org.apache.karaf.decanter.collector.rest.servlet
{code}
{code:java}
public class RestServletCollector
{code}

We also could change the event topic from 
{code:java}
decanter/collect/rest
{code}
to 
{code:java}
decanter/collect/rest-servlet
{code}






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

Reply via email to