79.5. 如何覆盖邮件标头中的 CXF producer 地址
camel-cxfrs
producer 支持通过使用 "CamelDestinationOverrideUrl 键设置消息来覆盖服务地址。
// set up the service address from the message header to override the setting of CXF endpoint exchange.getIn().setHeader(Exchange.DESTINATION_OVERRIDE_URL, constant(getServiceAddress()));
// set up the service address from the message header to override the setting of CXF endpoint
exchange.getIn().setHeader(Exchange.DESTINATION_OVERRIDE_URL, constant(getServiceAddress()));