Skip to content

Correct documentation's non-lambda adviceWith() argument#21685

Merged
davsclaus merged 1 commit intoapache:mainfrom
SilverstarStream:patch-1
Mar 3, 2026
Merged

Correct documentation's non-lambda adviceWith() argument#21685
davsclaus merged 1 commit intoapache:mainfrom
SilverstarStream:patch-1

Conversation

@SilverstarStream
Copy link
Contributor

Description

The example for the non-lambda adviceWith() call on the adviceWith documentation page lists the arguments in the wrong order.

The adviceWith javadoc shows that the order of the camelContext and routeId parameters are inverted for non-lambda adviceWith() compared to the lambda version.

Target

  • I checked that the commit is targeting the correct branch (Camel 4 uses the main branch)

Tracking

  • If this is a large change, bug fix, or code improvement, I checked there is a JIRA issue filed for the change (usually before you start working on it).

Apache Camel coding standards and style

  • I checked that each commit in the pull request has a meaningful subject line and body.
  • I have run mvn clean install -DskipTests locally from root folder and I have committed all auto-generated changes.

Copy link
Contributor

@davsclaus davsclaus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for spotting

@davsclaus davsclaus merged commit 7ebfd75 into apache:main Mar 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants