1.
拦截器中put属性
Message message = PhaseInterceptorChain.getCurrentMessage();
message.put("AuthCode", esbRoute.getAuthCode());
2.
接口实现中获得MessageContext对象
@Resource
private WebServiceContext context; MessageContext ctx = context.getMessageContext();
String ac = (String) ctx.get("AuthCode");