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

Add support for specifying language #234

Closed
davsclaus opened this issue Mar 15, 2017 · 1 comment
Closed

Add support for specifying language #234

davsclaus opened this issue Mar 15, 2017 · 1 comment
Assignees

Comments

@davsclaus
Copy link
Contributor

for the steps such as filter, choice etc its hardcoded to jsonpath as the languge.

We should allow to define what language we want to use, so we can do simple, xpath and others as well

@davsclaus davsclaus self-assigned this Mar 15, 2017
@davsclaus
Copy link
Contributor Author

You can now specify the language

flows:
- steps:
  - kind: "endpoint"
    uri: "direct:start"
  - kind: "filter"
    expression: "${body} contains 'James'"
    language: "simple"
    steps:
    - kind: "endpoint"
      uri: "mock:matched"
  - kind: "endpoint"
    uri: "mock:allMessages"

The default language is still jsonpath

davsclaus added a commit that referenced this issue Mar 16, 2017
Fixes #234 to allow to specify langauge in camel predicate and expres…
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