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

feat: Add Camel route steps #31

Merged

Conversation

christophd
Copy link
Member

@christophd christophd commented Aug 23, 2019

Fixes #30

PR enables us to create Camel routes as part of the test.

Given Camel route hello.groovy
    """
    from("direct:hello")
     .to("log:dev.yaks.testing.camel?level=INFO")
     .split(body().tokenize(" "))
       .to("seda:tokens")
     .end()
    """

Right now supports XML and Groovy route definitions. In future we might want to reuse the camel-k-runtime route loader implementations for all languages (Yaml, Groovy, JavaScript, ...).

But before we can do that we need to align the same Camel versions (CamelK runtime uses 3.0.0.M3, Citrus 2.21.1)

@christophd christophd merged commit 7bbc4e5 into citrusframework:master Aug 24, 2019
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.

Add Camel route steps
2 participants