Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added route naming example for YAML #11781

Merged
merged 1 commit into from
Oct 20, 2023
Merged

Added route naming example for YAML #11781

merged 1 commit into from
Oct 20, 2023

Conversation

ssalewski
Copy link
Contributor

Description

Added the same example used for naming a route as YAML DSL

Target

  • I checked that the commit is targeting the correct branch (note that Camel 3 uses camel-3.x, whereas 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 and I have committed all auto-generated changes

Copy link
Contributor

@essobedo essobedo left a comment

Choose a reason for hiding this comment

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

Thx for the contribution. Just FYI, you can inline uri with to in case you don't have other key/value pairs to provide to configure your producer, so it could be simplified with:

...
        - to: mock:bar

@essobedo essobedo merged commit edbe483 into apache:main Oct 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants