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

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=15905041#comment-15905041 ] 

ASF GitHub Bot commented on CAMEL-10983:
----------------------------------------

GitHub user tadayosi opened a pull request:

    https://github.com/apache/camel/pull/1523

    CAMEL-10983: Fail early and show meaningful log for invalid endpoint URI in Blueprint

    https://issues.apache.org/jira/browse/CAMEL-10983

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/tadayosi/camel CAMEL-10983

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/camel/pull/1523.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1523
    
----
commit e3e9c8f8b39859b27ce55f45d3c54cfd646fefd0
Author: Tadayoshi Sato <sa...@gmail.com>
Date:   2017-03-10T13:05:12Z

    CAMEL-10983: Fail early and show meaningful log for invalid endpoint URI in Blueprint

----


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