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

[jira] Created: (CAMEL-433) Endpoint configuration using uri should validate uri string

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


[jira] Commented: (CAMEL-433) Endpoint configuration using uri should validate uri string

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-433?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=42639#action_42639 ] 

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

camel-stream *DONE*

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


[jira] Commented: (CAMEL-433) Endpoint configuration using uri should validate uri string

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-433?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=42637#action_42637 ] 

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

Use the new getAndRemoveParameter methods in all our components

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


[jira] Closed: (CAMEL-433) Endpoint configuration using uri should validate uri string

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-433?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen closed CAMEL-433.
-----------------------------

    Resolution: Fixed

Okay no more components uses parameters.remove directly

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


[jira] Commented: (CAMEL-433) Endpoint configuration using uri should validate uri string

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-433?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=42626#action_42626 ] 

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

DefaultComponent has the endpoint uri code that should have better validation

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


[jira] Assigned: (CAMEL-433) Endpoint configuration using uri should validate uri string

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-433?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen reassigned CAMEL-433:
---------------------------------

    Assignee: Claus Ibsen

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


[jira] Commented: (CAMEL-433) Endpoint configuration using uri should validate uri string

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ 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.


[jira] Commented: (CAMEL-433) Endpoint configuration using uri should validate uri string

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-433?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=42638#action_42638 ] 

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

camel-mina *DONE*

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


[jira] Reopened: (CAMEL-433) Endpoint configuration using uri should validate uri string

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-433?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen reopened CAMEL-433:
-------------------------------


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


[jira] Resolved: (CAMEL-433) Endpoint configuration using uri should validate uri string

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-433?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-433.
-------------------------------

    Resolution: Fixed

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


[jira] Commented: (CAMEL-433) Endpoint configuration using uri should validate uri string

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-433?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=42641#action_42641 ] 

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

spring-jms *DONE*

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


[jira] Work started: (CAMEL-433) Endpoint configuration using uri should validate uri string

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-433?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on CAMEL-433 started by Claus Ibsen.

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


[jira] Work started: (CAMEL-433) Endpoint configuration using uri should validate uri string

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-433?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on CAMEL-433 started by Claus Ibsen.

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


[jira] Commented: (CAMEL-433) Endpoint configuration using uri should validate uri string

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-433?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=41986#action_41986 ] 

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

It was CAMEL-430 that had the two ? markers

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


[jira] Commented: (CAMEL-433) Endpoint configuration using uri should validate uri string

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-433?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=42640#action_42640 ] 

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

camel-spring (xslt component) *DONE*

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