...
in this case, the Message coming from the seda:a Endpoint will have 'theHeader' header set to the constant value 'the value'.
And the same example using Java DSL:
Code Block |
---|
|
from("seda:a").setHeader("theHeader", constant("the value")).to("mock:b");
|