[ 
https://issues.apache.org/jira/browse/CAMEL-4000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13044569#comment-13044569
 ] 

Romain Manni-Bucau commented on CAMEL-4000:
-------------------------------------------

yes, this DSL is nice and can be a solution :).

> camel-assert
> ------------
>
>                 Key: CAMEL-4000
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4000
>             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: 
> http://code.google.com/p/rmannibucau/source/browse/#hg%2Fcamel%2Fcamel-assert
> edit: nabble link: 
> http://camel.465427.n5.nabble.com/assert-amp-hashes-td4419370.html

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to