Мы находимся в процессе обновления от Camel 3.24 до 4.4
Может ли кто -нибудь помочь, как реорганизовать приведенный ниже код маршрута верблюда в новой версии верблюда.
Спасибо! < /p>
Код: Выделить всё
rest()
.tag("Test")
.post("/Vendor/receive")
.route()
.process(new RetrieveAccessToken(_logger))
.toD("rest endpoint url" + "?bridgeEndpoint=true&connectionClose=true&httpMethod=POST")
.process(exchange -> {
_logger.info("rest service completed for MessageType", getLogEvent(exchange));
});
Подробнее здесь: https://stackoverflow.com/questions/795 ... d-refactor
Мобильная версия