[
https://issues.apache.org/activemq/browse/CAMEL-330?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=62666#action_62666
]
Bruno Borges commented on CAMEL-330:
------------------------------------
In Apache Wicket there was a time where people thought adding Generics support
would be great. In the end it became a nightmare.
This feature should add the possibility to static type data while keeping the
current behaviour of best effort on convertions.
Two possibilities: annotations and generics.
IMO, annotations would be better, even though it wouldn't avoid dynamic types.
But at least would better document endpoints/components, and also help runtime
checks that could perform better than best effort convertions.
> Components / endpoints should advertise the data types they support
> --------------------------------------------------------------------
>
> Key: CAMEL-330
> URL: https://issues.apache.org/activemq/browse/CAMEL-330
> Project: Apache Camel
> Issue Type: New Feature
> Components: camel-core
> Affects Versions: 1.2.0
> Reporter: Hadrian Zbarcea
> Fix For: Future
>
>
> In the current version a conversion is attempted on a best effort basis.
> An endpoint does not have knowledge about the data types supported by the
> previous or next endpoint in the route. If an endpoint would publish what
> data types it supports, static analysis would be possible to determine if
> messages could be processed successfully or additional type converters are
> necessary.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.