[
https://issues.apache.org/jira/browse/CAMEL-4755?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-4755.
--------------------------------
Resolution: Won't Fix
Fix Version/s: 2.9.0
Assignee: Claus Ibsen
This is working as designed.
The direct component will at runtime throw exception if you send a message to a
unknown destination.
> ignoreInvalidEndpoints does not ignore CamelExchangeException
> -------------------------------------------------------------
>
> Key: CAMEL-4755
> URL: https://issues.apache.org/jira/browse/CAMEL-4755
> Project: Camel
> Issue Type: Bug
> Components: camel-core
> Affects Versions: 2.8.3
> Reporter: Robin Howlett
> Assignee: Claus Ibsen
> Fix For: 2.9.0
>
>
> org.apache.camel.processor.RecipientListIgnoreInvalidEndpointsTest in
> camel-core does not pass if instead of using a non-existent
> component/endpoint like "fail:endpoint", a valid component is used but the
> endpoint does not exist e.g. "direct:endpoint".
> The following exception is thrown and not ignored:
> "org.apache.camel.CamelExchangeException: No consumers available on endpoint:
> Endpoint[direct://endpoint]. Exchange[Message: Hello World]"
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira