Message headers are converted to lower-case when a SwitchYard service is invoked in a CamelRoute like:
from("switchyard://DummyInterface")
|
.setHeader("x.UPPERCASEHEADER").constant("test")
|
.to("switchyard://DummyInterfaceRuleService?operationName=invoke")
|
.log("Upper-case: ${header[UPPERCASEHEADER]}")
|
.log("Lower-case: ${header[uppercaseheader]}");
|
[code}
|
|
The resulting output is
|
14:30:30,024 INFO [route1] Upper-case: 14:30:30,024 INFO [route1] Lower-case: test
14:30:30,024 INFO [route1] Upper-case: test 14:30:30,024 INFO [route1] Lower-case:
as expected.
The bug seems to be related to #
SWITCHYARD-2252
However, this bug occurs on the transformation back from SwitchYard to Camel.
|