You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Nicola Ferraro (JIRA)" <ji...@apache.org> on 2018/03/22 10:19:00 UTC

[jira] [Resolved] (CAMEL-12380) Spring Boot 2 - Remove dependency on code ported from 1.5.x

     [ https://issues.apache.org/jira/browse/CAMEL-12380?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nicola Ferraro resolved CAMEL-12380.
------------------------------------
    Resolution: Fixed

Spring-boot 2 has a different way to bind properties, old 1.5.x was "too relaxed". I've removed the relaxed property resolver and replaced it with the new "Binder".

> Spring Boot 2 - Remove dependency on code ported from 1.5.x
> -----------------------------------------------------------
>
>                 Key: CAMEL-12380
>                 URL: https://issues.apache.org/jira/browse/CAMEL-12380
>             Project: Camel
>          Issue Type: Sub-task
>            Reporter: Nicola Ferraro
>            Assignee: Nicola Ferraro
>            Priority: Minor
>
> Looks like some code ported from 1.5.x was necessary to support compatibility of both spring-boot 1 and spring-boot 2, but we can rely on v2-only code now.
>  
> E.g. RelaxedPropertyResolver is not necessary if using [canonical properties|https://github.com/spring-projects/spring-boot/wiki/Canonical-properties#spring-boot-20-canonical-properties].
>  
> Others classes currently forward-ported:
> - PropertySourceUtils
> - RelaxedNames



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)