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

Luca Burgazzoli updated CAMEL-15439:
------------------------------------
    Description: 
Assuming we have a class like

{code:java}
package my.package;

@Configurer
class MyClass {
}
{code}

Then the camel maven plugin creates an entry in

{code}
META-INF/services/org/apache/camel/configurer/MyClass
{code}

Which is fine as long as the use of configure does not get traction but as 
there's no qualifier for the class, it may happen that we have some naming 
clash.

Maybe the configurer should generate

{code}
META-INF/services/org/apache/camel/configurer/my.package.MyClass
{code}

instead

  was:
Assuming we have a class like

{code:java}
package my.package;

@Configurer
class MyClass {
}
{code}

Then the camel maven plugin creates an entry in

{code}
META-INF/services/org/apache/camel/configurer/MyClass
{code}

Which is fine as long as the use of configure does not get traction but as 
there's no qualifier for the class, it may happen that we have some naming 
clash.

Maybe the configurer should generate

{code}
META-INF/services/org/apache/camel/configurer/my-package.MyClass
{code}

instead


> configurer: use full qualified class name instead of simple class name
> ----------------------------------------------------------------------
>
>                 Key: CAMEL-15439
>                 URL: https://issues.apache.org/jira/browse/CAMEL-15439
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Luca Burgazzoli
>            Priority: Minor
>
> Assuming we have a class like
> {code:java}
> package my.package;
> @Configurer
> class MyClass {
> }
> {code}
> Then the camel maven plugin creates an entry in
> {code}
> META-INF/services/org/apache/camel/configurer/MyClass
> {code}
> Which is fine as long as the use of configure does not get traction but as 
> there's no qualifier for the class, it may happen that we have some naming 
> clash.
> Maybe the configurer should generate
> {code}
> META-INF/services/org/apache/camel/configurer/my.package.MyClass
> {code}
> instead



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to