camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luca Burgazzoli (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAMEL-11675) @Metadata should be repeatable
Date Fri, 18 Aug 2017 08:00:01 GMT

     [ 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)

Mime
View raw message