rest("/apibus/busi/").produces(consumes).consumes(consumes)
.post("processApply").route().log("流程操作申请")
.to(BusiApplyRoute.ROUTE_ID).endRest()
#initRestEndpointProperties
org.apache.camel.support.RestComponentHelper#initRestEndpointProperties
Rest路由映射为NettyHttpConsumer
org.apache.camel.impl.engine.RouteService
最终结果
{DefaultRoute@19400} "Route[rest://post:/apibus/busi/:processApply?consumes=application%2Fjson&produces=application%2Fjson&routeId=route1 -> null]" -> {NettyHttpConsumer@19479} "Consumer[http://0.0.0.0:9903/apibus/busi/processApply?httpMethodRestrict=POST%2COPTIONS]"
标签:netty,http,processApply,rest,busi,apibus,consumes From: https://www.cnblogs.com/java-le/p/17091831.html