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 2022/10/18 08:45:00 UTC

[jira] [Commented] (CAMEL-18585) Validator: investigate strange validator behavior

    [ https://issues.apache.org/jira/browse/CAMEL-18585?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17619354#comment-17619354 ] 

Claus Ibsen commented on CAMEL-18585:
-------------------------------------

Ah its the route contract stuff that are seldom in use. 

Instead of using a scheduler then start the test with a direct and call it, otherwise the scheduler can trigger before the test method

> Validator: investigate strange validator behavior
> -------------------------------------------------
>
>                 Key: CAMEL-18585
>                 URL: https://issues.apache.org/jira/browse/CAMEL-18585
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-validator
>    Affects Versions: 3.18.2, 3.19.0
>            Reporter: Otavio Rodolfo Piske
>            Priority: Minor
>             Fix For: 3.18.4, 3.20.0
>
>
> A user reported a strange behavior with the Validator. It appears - though not yet confirmed - that the validator is not being called in some circumstances.
> A reproducer was provided: https://github.com/Croway/camel/blob/validator-with-scheduler/core/camel-core/src/test/java/org/apache/camel/component/validator/ValidatorWithSchedulerTest.java



--
This message was sent by Atlassian Jira
(v8.20.10#820010)