Код: Выделить всё
restConfiguration()
.host("localhost")
.port(8082)
from("seda:my-route")
.setHeader(RestConstants.CONTENT_TYPE, constant("application/json"))
.to("rest:get:/docp/supply-chain2/v1/invoice-responses")
Подробнее здесь: https://stackoverflow.com/questions/783 ... ache-camel