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 2011/03/05 13:29:45 UTC

[jira] Created: (CAMEL-3757) Auto mock endpoints should strip parameters to avoid confusing when accessing the mocked endpoint

Auto mock endpoints should strip parameters to avoid confusing when accessing the mocked endpoint
-------------------------------------------------------------------------------------------------

                 Key: CAMEL-3757
                 URL: https://issues.apache.org/jira/browse/CAMEL-3757
             Project: Camel
          Issue Type: Bug
          Components: camel-core
    Affects Versions: 2.7.0
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
            Priority: Minor
             Fix For: 2.7.0


If you use mocking existing endpoints, which is detailed here
http://camel.apache.org/mock.html

We should stip parameters of the mocked endpoint, eg {{file:xxxx?noop=true}}. eg so the mocked endpoint would be {{"mock:file:xxxx"}} without any of the parameters.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Resolved: (CAMEL-3757) Auto mock endpoints should strip parameters to avoid confusing when accessing the mocked endpoint

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

Claus Ibsen resolved CAMEL-3757.
--------------------------------

    Resolution: Fixed

trunk: 1078291.

> Auto mock endpoints should strip parameters to avoid confusing when accessing the mocked endpoint
> -------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-3757
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3757
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.7.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.7.0
>
>
> If you use mocking existing endpoints, which is detailed here
> http://camel.apache.org/mock.html
> We should stip parameters of the mocked endpoint, eg {{file:xxxx?noop=true}}. eg so the mocked endpoint would be {{mock:file:xxxx}} without any of the parameters.
> Otherwise the mock endpoint expects those parameters is part of the mock endpoint and will fail creating the mock endpoint.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (CAMEL-3757) Auto mock endpoints should strip parameters to avoid confusing when accessing the mocked endpoint

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

Claus Ibsen updated CAMEL-3757:
-------------------------------

    Description: 
If you use mocking existing endpoints, which is detailed here
http://camel.apache.org/mock.html

We should stip parameters of the mocked endpoint, eg {{file:xxxx?noop=true}}. eg so the mocked endpoint would be {{mock:file:xxxx}} without any of the parameters.

Otherwise the mock endpoint expects those parameters is part of the mock endpoint and will fail creating the mock endpoint.

  was:
If you use mocking existing endpoints, which is detailed here
http://camel.apache.org/mock.html

We should stip parameters of the mocked endpoint, eg {{file:xxxx?noop=true}}. eg so the mocked endpoint would be {{"mock:file:xxxx"}} without any of the parameters.


> Auto mock endpoints should strip parameters to avoid confusing when accessing the mocked endpoint
> -------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-3757
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3757
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.7.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.7.0
>
>
> If you use mocking existing endpoints, which is detailed here
> http://camel.apache.org/mock.html
> We should stip parameters of the mocked endpoint, eg {{file:xxxx?noop=true}}. eg so the mocked endpoint would be {{mock:file:xxxx}} without any of the parameters.
> Otherwise the mock endpoint expects those parameters is part of the mock endpoint and will fail creating the mock endpoint.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira