This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push: new cd087d99e38 Regen for commit 5a7f26c3f8ed8782d3bb2e488d5c33ef01186926 cd087d99e38 is described below commit cd087d99e387b4a0993aa32de120aaa788d9a369 Author: davsclaus <davscl...@users.noreply.github.com> AuthorDate: Wed Sep 14 18:42:49 2022 +0000 Regen for commit 5a7f26c3f8ed8782d3bb2e488d5c33ef01186926 Signed-off-by: GitHub <nore...@github.com> --- .../org/apache/camel/catalog/schemas/camel-spring.xsd | 12 ++++++++++++ .../camel/dsl/jbang/core/commands/action/CamelSourceTop.java | 3 ++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd index 2d0757b9044..82624a87ed9 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd @@ -5546,6 +5546,18 @@ The size must be greater than 0. Default size is 10. Default value: 10 </xs:annotation> </xs:attribute> + <xs:attribute name="throwExceptionWhenHalfOpenOrOpenState" type="xs:string"> + <xs:annotation> + <xs:documentation xml:lang="en"> + <![CDATA[ +Whether to throw io.github.resilience4j.circuitbreaker.CallNotPermittedException +when the call is rejected due circuit breaker is half open or open. Default +value: false + ]]> + </xs:documentation> + </xs:annotation> + </xs:attribute> + <xs:attribute name="slidingWindowSize" type="xs:string"> <xs:annotation> <xs:documentation xml:lang="en"> diff --git a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/action/CamelSourceTop.java b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/action/CamelSourceTop.java index 1e8db03f4c0..83ce440e189 100644 --- a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/action/CamelSourceTop.java +++ b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/action/CamelSourceTop.java @@ -147,7 +147,8 @@ public class CamelSourceTop extends ActionBaseCommand { protected void printSource(List<Row> rows) { for (Row row : rows) { - System.out.printf("Route: %s\tSource: %s Total: %s Mean: %s Max: %s Min: %s Last: %s%n", row.routeId, row.location, row.total, row.mean != null ? row.mean : "", row.max, + System.out.printf("Route: %s\tSource: %s Total: %s Mean: %s Max: %s Min: %s Last: %s%n", row.routeId, row.location, + row.total, row.mean != null ? row.mean : "", row.max, row.min, row.last != null ? row.last : ""); for (int i = 0; i < row.code.size(); i++) { Code code = row.code.get(i);