【发布时间】:2019-01-07 11:44:55
【问题描述】:
现有路线:
from("direct:test").id(id+"direct:test")
.hystrix()
.id("testHystrix").hystrixConfiguration().corePoolSize(corePoolSize)
.end()
.process(requestProcessor)
.to(endPoint)
.onFallbackViaNetwork()
.toD("${headers.fallbackEndPoint}")
.endHystrix();
是否可以基于交换的主体动态选择 onFallback() 或 onFallbackViaNetwork() 回退逻辑。
【问题讨论】:
标签: apache-camel hystrix