[
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