【问题标题】:java.io.IOException: Authorization loop detected on Conduit in Apache Cameljava.io.IOException:在 Apache Camel 中的 Conduit 上检测到授权循环
【发布时间】:2016-05-19 22:49:57
【问题描述】:

org.apache.cxf.interceptor.Fault:无法发送消息。 在 org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:64) 在 org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308) 在 org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:514) 在 org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:416) 在 org.apache.camel.component.cxf.CxfProducer.process(CxfProducer.java:120) 在 org.apache.camel.processor.SendProcessor.process(SendProcessor.java:141) 在 org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77) 在 org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:163) 在 org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:460) 在 org.apache.camel.spring.spi.TransactionErrorHandler.processByErrorHandler(TransactionErrorHandler.java:218) 在 org.apache.camel.spring.spi.TransactionErrorHandler.process(TransactionErrorHandler.java:99)

骆驼版 - 2.16.1.

原因:java.io.IOException:在 Conduit “webserviceURL here...”上检测到授权循环

试图从“routeContext id=1”中可用的“route id=1”调用已发布的 WS,从“routeContext id=2”中定义的“route id=2”调用。 WS - 使用 CXF 端点定义.. “routeContext”都定义了“http:conduit”。 尝试删除其中一个..不成功..

【问题讨论】:

  • 我可以知道投反对票的原因吗...!!
  • 您的路线看起来如何?您在 http:conduit 中定义了什么?
  • 问题@Ramin 中提到

标签: apache-camel


【解决方案1】:

解决办法是,

您必须更具体地说明 http:conduit 的范围,可以通过为配置的管道提供特定名称来实现,例如:http:conduit name="abcd.http",将仅对 ' 可用abcd',这里是 abcd~=Webservice

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-12-04
    • 1970-01-01
    • 2019-05-20
    • 1970-01-01
    • 1970-01-01
    • 2023-03-30
    相关资源
    最近更新 更多