You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2025/09/01 08:44:00 UTC
[jira] [Commented] (CAMEL-22396) camel-test - Using @MockEndpoints is not allowed together with interceptSendToEndpoint
[ https://issues.apache.org/jira/browse/CAMEL-22396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18017380#comment-18017380 ]
Claus Ibsen commented on CAMEL-22396:
-------------------------------------
Okay we may be able to improve this internally and allow this to happen as @MockEndpoints should be forced to be registered last, which allows to detect those route based interceptSendToEndpoint
> camel-test - Using @MockEndpoints is not allowed together with interceptSendToEndpoint
> --------------------------------------------------------------------------------------
>
> Key: CAMEL-22396
> URL: https://issues.apache.org/jira/browse/CAMEL-22396
> Project: Camel
> Issue Type: Improvement
> Components: camel-core, camel-test
> Reporter: Claus Ibsen
> Priority: Major
> Fix For: 4.15.0
>
>
> This causes some internal problems because @MockEnpoints is a special interceptSendToEndpoint. And this clashes when there is also these in routes.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)