|
@@ -50,10 +50,12 @@ public class Route extends ExceptionHandlerBaseRoute {
|
|
|
.produces(MediaType.APPLICATION_JSON)
|
|
|
.route()
|
|
|
.process(exchange -> {
|
|
|
+
|
|
|
String jsonStr = exchange.getIn().getBody(String.class);
|
|
|
JSONObject json = JSONObject.parseObject(jsonStr);
|
|
|
exchange.setProperty("venderId", json.getString("venderId"));
|
|
|
exchange.getIn().setBody(jsonStr);
|
|
|
+
|
|
|
})
|
|
|
.to("direct:getPropertiesByPj")
|
|
|
.process(new GetVenderBySpecProcessor())
|