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

Camel 4.9 - Add support for code completion for global data formats #1071

Open
davsclaus opened this issue Oct 29, 2024 · 0 comments
Open

Camel 4.9 - Add support for code completion for global data formats #1071

davsclaus opened this issue Oct 29, 2024 · 0 comments

Comments

@davsclaus
Copy link
Collaborator

You can configure in XML DSL and in YAML DSL now that are outside the routes. This makes it possible to configure them once globally, and then reuse in the routes.

<camel>

    <dataFormats>
        <base64 id="myBase2" lineLength="60" urlSafe="true"/>
    </dataFormats>

    <route>
        <from uri="direct:start"/>
        <marshal><custom ref="myBase2"/></marshal>
        <to uri="mock:result"/>
    </route>

</camel>

Inside <dataFormats> you want code completion for the 50+ data formats that are in Camel and how to configure them.

The same for YAML DSL:

- dataFormats:
  - base64:
      id: df1
      lineLength: 88
  - csv:
      id: df2
      headerDisabled: true
      ignoreEmptyLines: true

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

No branches or pull requests

1 participant