Created
December 18, 2020 01:43
-
-
Save GuilhermeManzano/60198095521f582472379eff7f7324e3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from("file:pedidos?delay=5s&noop=true") | |
.to("direct:http") | |
.to("direct:soap") | |
from("direct:http") | |
.setProperty("pedidoId", xpath("/pedido/id/text()")) | |
.split() | |
.xpath("/pedido/itens/item") | |
.to("http://localhost") | |
.from("direct:soap") | |
.to("mock:soap"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment