camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <>
Subject [jira] [Resolved] (CAMEL-4704) Allow type converters to be specified as Spring beans
Date Sun, 05 Apr 2015 08:14:33 GMT


Claus Ibsen resolved CAMEL-4704.
    Resolution: Fixed

> Allow type converters to be specified as Spring beans
> -----------------------------------------------------
>                 Key: CAMEL-4704
>                 URL:
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-core
>    Affects Versions: 2.8.2
>            Reporter: Daniel Gredler
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.16.0
> There are many Camel configuration elements that are auto-discovered when they are configured
as Spring beans (Tracer, InterceptStrategy, EventNotifier, PlatformTransactionManager, etc):
> However, instances of TypeConverter are not auto-discovered based on the Spring configuration
(there is a different auto-discovery mechanism):
> A related JIRA ticket (requesting custom XML syntax) was marked "won't fix": CAMEL-1685.
> I agree that the extra XML tag is not necessary. However, the omission of Spring bean
auto-discovery seems to violate the principle of least surprise -- as a new Camel user, knowing
that Camel auto-discovers Spring beans for other configuration elements, I was surprised to
find that Camel didn't find my TypeConverter Spring bean.

This message was sent by Atlassian JIRA

View raw message