[ 
https://issues.apache.org/activemq/browse/CAMEL-433?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=42629#action_42629
 ] 

Claus Ibsen commented on CAMEL-433:
-----------------------------------

Implemented validation in camel-core so Camel will throw a 
ResolveEndpointFailedException if there are parameters left overs.
It also validates if you have & in the uri but no ? marker.

See the wiki http://activemq.apache.org/camel/writing-components.html for how 
to resolve this as a component writer (you must removed parameters you support).



> Endpoint configuration using uri should validate uri string
> -----------------------------------------------------------
>
>                 Key: CAMEL-433
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-433
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 1.2.0, 1.3.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 1.4.0
>
>
> During the hunt for a bug in the JPA sample (etl) the bug was that the uri 
> configuration was mistyped and there was two ? markers, so one option was 
> actually skipped during initialization.
> This is a bit serious, so we should add validation to the core code to throw 
> somekind of exception when there are two ? markers in the uri etc.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to