This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git
commit c3da2b0d3bb5fb8d3c2803d8bef4fc6258d7470f Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Wed Jun 19 05:51:04 2019 +0200 Fixed example with wrong throttle XML --- .../src/main/resources/META-INF/spring/camel-context.xml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/examples/camel-example-management/src/main/resources/META-INF/spring/camel-context.xml b/examples/camel-example-management/src/main/resources/META-INF/spring/camel-context.xml index 2dc1ee6..e48a56e 100644 --- a/examples/camel-example-management/src/main/resources/META-INF/spring/camel-context.xml +++ b/examples/camel-example-management/src/main/resources/META-INF/spring/camel-context.xml @@ -48,13 +48,13 @@ <!-- throttle 10 msg/sec being send the ActiveMQ queue --> <throttle> <constant>10</constant> - <!-- store the stock symbol as a header --> - <setHeader headerName="symbol"> - <xpath>/stock/symbol/text()</xpath> - </setHeader> - <!-- send the message to a dynamic to, with the stock symbol as the name of the queue --> - <toD uri="activemq:queue:stock.${header.symbol}"/> </throttle> + <!-- store the stock symbol as a header --> + <setHeader headerName="symbol"> + <xpath>/stock/symbol/text()</xpath> + </setHeader> + <!-- send the message to a dynamic to, with the stock symbol as the name of the queue --> + <toD uri="activemq:queue:stock.${header.symbol}"/> </split> </route>