You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Henryk Konsek (JIRA)" <ji...@apache.org> on 2013/11/03 14:12:23 UTC
[jira] [Created] (CAMEL-6929) Narrow ExcludeRoutes annotation
values to RoutesBuilder instances
Henryk Konsek created CAMEL-6929:
------------------------------------
Summary: Narrow ExcludeRoutes annotation values to RoutesBuilder instances
Key: CAMEL-6929
URL: https://issues.apache.org/jira/browse/CAMEL-6929
Project: Camel
Issue Type: Improvement
Affects Versions: 2.12.1
Reporter: Henryk Konsek
Assignee: Henryk Konsek
Fix For: 2.13.0
Values passed to the {{ExcludeRoutes}} annotation should implement {{RoutesBuilder}} interface, as we want to exclude route builders. Now I can exclude let's say {{java.lang.String}} (with {{@ExcludeRoutes(String.class)}} what doesn't make any sense.
I propose to narrow possible values as demonstrated below:
{code:java}Class<? extends RoutesBuilder>[] value() default {};{code}
--
This message was sent by Atlassian JIRA
(v6.1#6144)