[
https://issues.apache.org/jira/browse/CAMEL-11675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16522142#comment-16522142
]
ASF GitHub Bot commented on CAMEL-11675:
----------------------------------------
GitHub user onderson opened a pull request:
https://github.com/apache/camel/pull/2391
CAMEL-11675 - Repetable @Metadata annotation
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/onderson/camel CAMEL-11675
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/2391.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2391
----
commit 962bc2590cda27c57f5a0b5571778af90764ceba
Author: Sezgin <onder.sezgin@...>
Date: 2018-06-25T08:46:38Z
CAMEL-11675 - Repetable @Metadata annotation
----
> @Metadata should be repeatable
> ------------------------------
>
> Key: CAMEL-11675
> URL: https://issues.apache.org/jira/browse/CAMEL-11675
> Project: Camel
> Issue Type: Improvement
> Components: camel-core
> Reporter: Luca Burgazzoli
> Priority: Minor
> Fix For: 2.23.0
>
>
> 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(key = "platforms", enums = { "spring", "spring-boot", "osgi" })
> @Metadata(key = "extensions", types = { MyExtension.cass })
> class MyComponent extends DefaultComponent {
> }
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)