You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Luca Burgazzoli (JIRA)" <ji...@apache.org> on 2017/08/18 08:00:01 UTC
[jira] [Updated] (CAMEL-11675) @Metadata should be repeatable
[ https://issues.apache.org/jira/browse/CAMEL-11675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Luca Burgazzoli updated CAMEL-11675:
------------------------------------
Description:
As today @Metadata is not repeatable so it is not easy to add multiple information to i.e. a component, it would be nice to write something like:
{code:java}
@Metadata(label = "platforms", enums = { "spring", "spring-boot", "osgi" })
@Metadata(label = "extensions", types = { MyExtension.cass })
class MyComponent extends DefaultComponent {
}
{code}
was:
As today @Metadata is not repeatable so it is not easy to add multiple information to i.e. a component, it would be nice to write something like:
{code:java}
@Metadata(label = "platforms", values = { "spring", "spring-boot", "osgi" })
@Metadata(label = "extensions", types = { MyExtension.cass })
class MyComponent extends DefaultComponent {
}
{code}
> @Metadata should be repeatable
> ------------------------------
>
> Key: CAMEL-11675
> URL: https://issues.apache.org/jira/browse/CAMEL-11675
> Project: Camel
> Issue Type: Improvement
> Reporter: Luca Burgazzoli
> Priority: Minor
> Fix For: 2.20.0, Future
>
>
> As today @Metadata is not repeatable so it is not easy to add multiple information to i.e. a component, it would be nice to write something like:
> {code:java}
> @Metadata(label = "platforms", enums = { "spring", "spring-boot", "osgi" })
> @Metadata(label = "extensions", types = { MyExtension.cass })
> class MyComponent extends DefaultComponent {
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)