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

[jira] [Updated] (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 ]

Tadayoshi Sato updated CAMEL-10983:
-----------------------------------
    Description: 
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}

  was:
An extra white space in blueprint xml 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}


> 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
>
> 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)