camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Kettelerij (JIRA)" <>
Subject [jira] [Commented] (CAMEL-4000) camel-assert
Date Sun, 05 Jun 2011 12:59:47 GMT


Richard Kettelerij commented on CAMEL-4000:

@Romain, using an expression language for this purpose would spring to mind. But you said
the simple language is to slow for your use case. Is dynamic evaluation in this case really
a bottleneck? Also have you looked at other (expression) languages:

The DSL for the CBR pattern ( looks similar
to the DSL Hadrian proposes. Although it services a different purpose you might get away with
it in this case:

.bean(Hash.class, "md5")

> camel-assert
> ------------
>                 Key: CAMEL-4000
>                 URL:
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-core
>            Reporter: Romain Manni-Bucau
>            Priority: Minor
> a component helping testing things (like Assert in junit) in the route could be useful.
> example:
> from("file://...")
>   .bean(ReadMd5FromFileAndPutItInHeaders.class)
>   .bean(Hash.class, "md5")
>   .to("assert:equals?CamelActualHeaderKey=myReferenceHeader")
>   .to("...");
> i had a try here:
> edit: nabble link:

This message is automatically generated by JIRA.
For more information on JIRA, see:

View raw message