我希望在已实现的服务端点中获取入站消息的ID,该消息具有以下可用参数:
有人能告诉我是否有办法拿到那个身份证吗?
发布于 2014-10-28 21:45:43
您可以使用消息获得当前的CXF PhaseInterceptorChain.getCurrentMessage()。日志拦截器使用的日志ID存储在Message中,可以用它的键检索。
String loggingId = (String) PhaseInterceptorChain.getCurrentMessage().get(LoggingMessage.ID_KEY);https://stackoverflow.com/questions/26616664
复制相似问题