Simplification of the dsl (#151)

with this change to DSL we're adding some helper methods and DSL simplifications 

- c(...) / p(...) - for consumer / producer
- for regex - e.g. $(anyUrl()) - insead of $(consumer(regex(url()))
- Added helper headers and media types
- Added helper http methods

fixes #149
This commit is contained in:
Marcin Grzejszczak
2016-11-18 15:38:35 +01:00
committed by GitHub
parent df80cc8f1f
commit b1175ff9bd
20 changed files with 1164 additions and 100 deletions

View File

@@ -94,7 +94,7 @@ class CamelMessagingApplicationSpec extends Specification {
])
messageHeaders {
header('sample', 'header')
header('Content-Type', 'application/json')
}
}
outputMessage {