You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2015/07/14 17:43:04 UTC

[jira] [Resolved] (CAMEL-6664) Java DSL - Predicates built using ValueBuilder - Map to simple language so we can dump route as text and preserve the predicate

     [ https://issues.apache.org/jira/browse/CAMEL-6664?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-6664.
--------------------------------
    Resolution: Won't Fix

This is a bit tough as you would need to figure out what the right and left hand side are and whether we can support that with simple.

body().isEqualTo("foo") is possible. But with java code you can build custom predicate and whatnot that are not so easy to map to simple language.

> Java DSL - Predicates built using ValueBuilder - Map to simple language so we can dump route as text and preserve the predicate
> -------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-6664
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6664
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.16.0
>
>
> See CAMEL-6593
> Lets see if we can turn these ValueBuilder header isNotNull isGreatThan etc into a simple language predicate/expression. That would allow us to preserve it when dumping the route as xml model. 
> This also allows people to reverse engineer java route and adjust them, as well for tooling to understand the predicates/expressions used in the route.  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)