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 2024/08/14 04:56:00 UTC

[jira] [Resolved] (CAMEL-21078) camel-test-junit5: enabling adviceWith should be available for consumer code.

     [ https://issues.apache.org/jira/browse/CAMEL-21078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-21078.
---------------------------------
    Resolution: Fixed

> 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
>            Priority: Major
>             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)