You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2017/03/10 20:51:04 UTC

[jira] [Resolved] (CAMEL-10983) Fail early and show meaningful log for invalid endpoint URI in Blueprint

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

Claus Ibsen resolved CAMEL-10983.
---------------------------------
    Resolution: Fixed

Thanks for the PR

> Fail early and show meaningful log for invalid endpoint URI in Blueprint
> ------------------------------------------------------------------------
>
>                 Key: CAMEL-10983
>                 URL: https://issues.apache.org/jira/browse/CAMEL-10983
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-blueprint
>    Affects Versions: 2.18.2
>            Reporter: Tadayoshi Sato
>            Assignee: Tadayoshi Sato
>             Fix For: 2.18.4, 2.19.0
>
>
> An extra white space in blueprint xml (e.g. {{<to uri=" sql:select * from eng"/>}}) throws 
> {code}
> 12:09:46,514 | INFO  | FelixStartLevel  | BlueprintContainerImpl           | 23 - org.apache.aries.blueprint.core - 1.4.4 | Bundle camel.xml/0.0.0 is waiting for dependencies [(&(component= sql)(objectClass=org.apache.camel.spi.ComponentResolver))]
> {code}
> while spring throws relevant exception
> {code}
> caused by: org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint:  sql:select * from eng due to: Illegal character in scheme name at index 0: %20sql:select%20*%20from%20eng
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)