Otavio Rodolfo Piske created CAMEL-21078:
--------------------------------------------

             Summary: camel-test-junit5: enabling adviceWith should be 
available for consumer code.
                 Key: CAMEL-21078
                 URL: https://issues.apache.org/jira/browse/CAMEL-21078
             Project: Camel
          Issue Type: Bug
          Components: camel-test
    Affects Versions: 4.7.0
            Reporter: Otavio Rodolfo Piske
            Assignee: Otavio Rodolfo Piske
             Fix For: 4.8.0


This has been reported both on 
[StackOverflow|https://stackoverflow.com/questions/78844486/how-can-i-enable-useadvicewith-in-a-cameltestsupport-unit-test]
 as well as on the users' mailing list.

Looking more closely, enabling/disabling the {{adviceWith}} is totally within 
the expectations of what users of the {{CamelTestSupport}} class are expected 
to do, therefore having it as protected is incorrect: it prevents enabling a 
user-related feature.





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

Reply via email to