我想根据标头参数中的数据将消息路由到不同的路由。
rest()
.tag("API")
.id("eventRest")
.post("/data").description("Post a new settlement data record")
.consumes("application/json")
.param().type(RestParamType.header).name("channelID").endParam().to("direct:customRoute")
这里如果我有不同的参数,那么这个应该绕过并继续我的程序中的其余流程。