1.7. 例子
1.7.1. producer 示例
from("direct:start") .to("aws2-cw://http://camel.apache.org/aws-cw");
和 可发送类似的内容
exchange.getIn().setHeader(Cw2Constants.METRIC_NAME, "ExchangesCompleted"); exchange.getIn().setHeader(Cw2Constants.METRIC_VALUE, "2.0"); exchange.getIn().setHeader(Cw2Constants.METRIC_UNIT, "Count");