[jira] [Comment Edited] (CAMEL-19342) Rest Inline Routes mixed with direct routes.
[ https://issues.apache.org/jira/browse/CAMEL-19342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17722146#comment-17722146 ] rodrigo coelho edited comment on CAMEL-19342 at 5/12/23 3:13 PM: - Update: I've changed the *DefaultModel.addRouteDefinitions(* Collection routeDefinitions *)* method to clear the routeDefinitions list after completion. {code:java} if (shouldStartRoutes()) { ((ModelCamelContext) getCamelContext()).startRouteDefinitions(list); } //New line this.routeDefinitions.clear(); {code} Compiled the 4.0.0-SNAPSHOT (both camel-core and camel-springboot), and i don't see the issue anymore. Since i don't know if this change can produce side effects, can you please help? Thanks. was (Author: coelhro): Update: I've changed the *DefaultModel.addRouteDefinitions(* Collection routeDefinitions *)* method to clear the routeDefinitions list after completion. {code:java} if (shouldStartRoutes()) { ((ModelCamelContext) getCamelContext()).startRouteDefinitions(list); } //New line this.routeDefinitions.clear(); {code} Compiled the 4.0.0-SNAPSHOT (both camel-core and camel-springboot), and i don't see the issue anymore. Since i don't if this change can produce side effects, can you please help? Thanks. > Rest Inline Routes mixed with direct routes. > > > Key: CAMEL-19342 > URL: https://issues.apache.org/jira/browse/CAMEL-19342 > Project: Camel > Issue Type: Bug > Components: came-core >Affects Versions: 3.20.4, 4.0-M3 >Reporter: rodrigo coelho >Priority: Major > > Hello, > For more information please follow Zulip thread: > [https://camel.zulipchat.com/#narrow/stream/257301-camel-spring-boot/topic/Inline.20Routes.20.28Default.20Model.29] > Here is my code: > [https://github.com/rodrigoserracoelho/rest-demo] > Do let me know if you need more info. > Thanks. > BR, > Rodrigo -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (CAMEL-19342) Rest Inline Routes mixed with direct routes.
[ https://issues.apache.org/jira/browse/CAMEL-19342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17722146#comment-17722146 ] rodrigo coelho commented on CAMEL-19342: Update: I've changed the *DefaultModel.addRouteDefinitions(* Collection routeDefinitions *)* method to clear the routeDefinitions list after completion. {code:java} if (shouldStartRoutes()) { ((ModelCamelContext) getCamelContext()).startRouteDefinitions(list); } //New line this.routeDefinitions.clear(); {code} Compiled the 4.0.0-SNAPSHOT (both camel-core and camel-springboot), and i don't see the issue anymore. Since i don't if this change can produce side effects, can you please help? Thanks. > Rest Inline Routes mixed with direct routes. > > > Key: CAMEL-19342 > URL: https://issues.apache.org/jira/browse/CAMEL-19342 > Project: Camel > Issue Type: Bug > Components: came-core >Affects Versions: 3.20.4, 4.0-M3 >Reporter: rodrigo coelho >Priority: Major > > Hello, > For more information please follow Zulip thread: > [https://camel.zulipchat.com/#narrow/stream/257301-camel-spring-boot/topic/Inline.20Routes.20.28Default.20Model.29] > Here is my code: > [https://github.com/rodrigoserracoelho/rest-demo] > Do let me know if you need more info. > Thanks. > BR, > Rodrigo -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Comment Edited] (CAMEL-19342) Rest Inline Routes mixed with direct routes.
[ https://issues.apache.org/jira/browse/CAMEL-19342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17722068#comment-17722068 ] rodrigo coelho edited comment on CAMEL-19342 at 5/12/23 9:05 AM: - What i see so far is: h3. Iteration 1 The method *DefaultModel.addRouteDefinitions* is called with the 2 route definitions: {code:java} Route(demo-test-0)[From[direct:demo-test-0] -> [OnException[[java.lang.Exception] -> []], LoadBalanceType[FailoverLoadBalancer, [To[http://localhost:8081/test?bridgeEndpoint=true&throwExceptionOnFailure=false] Route(rd-demo-test-0)[From[rest:get:/demo0?matchOnUriPrefix=true] -> [To[direct:demo-test-0]]]{code} The class attribute: *routeDefinitions* is _empty_ h3. Iteration 2 The method *DefaultModel.addRouteDefinitions* is called with the 2 route definitions: {code:java} Route(demo-test-1)[From[direct:demo-test-1] -> [OnException[[java.lang.Exception] -> []], LoadBalanceType[FailoverLoadBalancer, [To[http://localhost:8081/test?bridgeEndpoint=true&throwExceptionOnFailure=false] Route(rd-demo-test-1)[From[rest:get:/demo1?matchOnUriPrefix=true] -> [To[direct:demo-test-1]]] {code} The class attribute: *routeDefinitions* is *NOT* empty: {code:java} Route(rd-demo-test-0)[From[rest://get:/demo0?matchOnUriPrefix=true&routeId=rd-demo-test-0] -> [OnException[[java.lang.Exception] -> []], LoadBalanceType[FailoverLoadBalancer, [To[http://localhost:8081/test?bridgeEndpoint=true&throwExceptionOnFailure=false] {code} I think the problem shoud be around here, because we see a REST route with 3 elements: 1 - OnException 2- Load Balancer 3 - ToDefinition (where it fails) *This is the "inlined" route added from the first iteration (rd-demo-test-0), so i think it fails to be removed by the end of first iteration.* I think that after this code: (DefaultModel:248) {code:java} if (shouldStartRoutes()) { getCamelContext().adapt(ModelCamelContext.class).startRouteDefinitions(list); } {code} The class attribute *routeDefinitions* needs to be cleared. If i clear the class attribute: *routeDefinitions* after each iteration, i don't the same issue anymore and the routes are deployed inlined. {code:java} 2023-05-12 11:03:31.208 INFO 289566 --- [ main] io.surisoft.demo.DemoRouteBuilder : Route 0 deployed! 2023-05-12 11:03:47.948 INFO 289566 --- [ main] io.surisoft.demo.DemoRouteBuilder : Route 1 deployed!{code} If i stop the server: {code:java} 2023-05-12 11:05:30.852 INFO 289566 --- [ionShutdownHook] o.a.c.impl.engine.AbstractCamelContext : Apache Camel 3.20.4 (camel-1) is shutting down (timeout:45s) 2023-05-12 11:05:30.861 INFO 289566 --- [ionShutdownHook] o.a.c.impl.engine.AbstractCamelContext : Routes stopped (stopped:2) 2023-05-12 11:05:30.861 INFO 289566 --- [ionShutdownHook] o.a.c.impl.engine.AbstractCamelContext : Stopped rd-demo-test-1 (rest://get:/demo1) 2023-05-12 11:05:30.861 INFO 289566 --- [ionShutdownHook] o.a.c.impl.engine.AbstractCamelContext : Stopped rd-demo-test-0 (rest://get:/demo0) {code} was (Author: coelhro): What i see so far is: h3. Iteration 1 The method *DefaultModel.addRouteDefinitions* is called with the 2 route definitions: {code:java} Route(demo-test-0)[From[direct:demo-test-0] -> [OnException[[java.lang.Exception] -> []], LoadBalanceType[FailoverLoadBalancer, [To[http://localhost:8081/test?bridgeEndpoint=true&throwExceptionOnFailure=false] Route(rd-demo-test-0)[From[rest:get:/demo0?matchOnUriPrefix=true] -> [To[direct:demo-test-0]]]{code} The class attribute: *routeDefinitions* is _empty_ h3. Iteration 2 The method *DefaultModel.addRouteDefinitions* is called with the 2 route definitions: {code:java} Route(demo-test-1)[From[direct:demo-test-1] -> [OnException[[java.lang.Exception] -> []], LoadBalanceType[FailoverLoadBalancer, [To[http://localhost:8081/test?bridgeEndpoint=true&throwExceptionOnFailure=false] Route(rd-demo-test-1)[From[rest:get:/demo1?matchOnUriPrefix=true] -> [To[direct:demo-test-1]]] {code} The class attribute: *routeDefinitions* is *NOT* empty: {code:java} Route(rd-demo-test-0)[From[rest://get:/demo0?matchOnUriPrefix=true&routeId=rd-demo-test-0] -> [OnException[[java.lang.Exception] -> []], LoadBalanceType[FailoverLoadBalancer, [To[http://localhost:8081/test?bridgeEndpoint=true&throwExceptionOnFailure=false] {code} I think the problem shoud be around here, because we see a REST route with 3 elements: 1 - OnException 2- Load Balancer 3 - ToDefinition (where it fails) *This is the "inlined" route added from the first iteration (rd-demo-test-0), so i think it fails to be removed by the end of first iteration.* I think that after this code: (DefaultModel:248) {code:java} if (shouldStartRoutes()) { getCamelContext().adapt(ModelCamelContext.class).startRouteDefinitions(list); } {code} The class attrib
[jira] [Comment Edited] (CAMEL-19342) Rest Inline Routes mixed with direct routes.
[ https://issues.apache.org/jira/browse/CAMEL-19342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17722068#comment-17722068 ] rodrigo coelho edited comment on CAMEL-19342 at 5/12/23 8:47 AM: - What i see so far is: h3. Iteration 1 The method *DefaultModel.addRouteDefinitions* is called with the 2 route definitions: {code:java} Route(demo-test-0)[From[direct:demo-test-0] -> [OnException[[java.lang.Exception] -> []], LoadBalanceType[FailoverLoadBalancer, [To[http://localhost:8081/test?bridgeEndpoint=true&throwExceptionOnFailure=false] Route(rd-demo-test-0)[From[rest:get:/demo0?matchOnUriPrefix=true] -> [To[direct:demo-test-0]]]{code} The class attribute: *routeDefinitions* is _empty_ h3. Iteration 2 The method *DefaultModel.addRouteDefinitions* is called with the 2 route definitions: {code:java} Route(demo-test-1)[From[direct:demo-test-1] -> [OnException[[java.lang.Exception] -> []], LoadBalanceType[FailoverLoadBalancer, [To[http://localhost:8081/test?bridgeEndpoint=true&throwExceptionOnFailure=false] Route(rd-demo-test-1)[From[rest:get:/demo1?matchOnUriPrefix=true] -> [To[direct:demo-test-1]]] {code} The class attribute: *routeDefinitions* is *NOT* empty: {code:java} Route(rd-demo-test-0)[From[rest://get:/demo0?matchOnUriPrefix=true&routeId=rd-demo-test-0] -> [OnException[[java.lang.Exception] -> []], LoadBalanceType[FailoverLoadBalancer, [To[http://localhost:8081/test?bridgeEndpoint=true&throwExceptionOnFailure=false] {code} I think the problem shoud be around here, because we see a REST route with 3 elements: 1 - OnException 2- Load Balancer 3 - ToDefinition (where it fails) *This is the "inlined" route added from the first iteration (rd-demo-test-0), so i think it fails to be removed by the end of first iteration.* I think that after this code: (DefaultModel:248) {code:java} if (shouldStartRoutes()) { getCamelContext().adapt(ModelCamelContext.class).startRouteDefinitions(list); } {code} The class attribute *routeDefinitions* needs to be cleared. was (Author: coelhro): What i see so far is: h3. Iteration 1 The method *DefaultModel.addRouteDefinitions* is called with the 2 route definitions: {code:java} Route(demo-test-0)[From[direct:demo-test-0] -> [OnException[[java.lang.Exception] -> []], LoadBalanceType[FailoverLoadBalancer, [To[http://localhost:8081/test?bridgeEndpoint=true&throwExceptionOnFailure=false] Route(rd-demo-test-0)[From[rest:get:/demo0?matchOnUriPrefix=true] -> [To[direct:demo-test-0]]]{code} The class attribute: *routeDefinitions* is _empty_ h3. Iteration 2 The method *DefaultModel.addRouteDefinitions* is called with the 2 route definitions: {code:java} Route(demo-test-1)[From[direct:demo-test-1] -> [OnException[[java.lang.Exception] -> []], LoadBalanceType[FailoverLoadBalancer, [To[http://localhost:8081/test?bridgeEndpoint=true&throwExceptionOnFailure=false] Route(rd-demo-test-1)[From[rest:get:/demo1?matchOnUriPrefix=true] -> [To[direct:demo-test-1]]] {code} The class attribute: *routeDefinitions* is *NOT* empty: {code:java} Route(rd-demo-test-0)[From[rest://get:/demo0?matchOnUriPrefix=true&routeId=rd-demo-test-0] -> [OnException[[java.lang.Exception] -> []], LoadBalanceType[FailoverLoadBalancer, [To[http://localhost:8081/test?bridgeEndpoint=true&throwExceptionOnFailure=false] {code} I think the problem shoud be around here, because we see a REST route with 3 elements: 1 - OnException 2- Load Balancer 3 - ToDefinition (where it fails) *This is the "inlined" route added from the first iteration (rd-demo-test-0), so i think it fails to be removed by the end of first iteration.* > Rest Inline Routes mixed with direct routes. > > > Key: CAMEL-19342 > URL: https://issues.apache.org/jira/browse/CAMEL-19342 > Project: Camel > Issue Type: Bug > Components: came-core >Affects Versions: 3.20.4, 4.0-M3 >Reporter: rodrigo coelho >Priority: Major > > Hello, > For more information please follow Zulip thread: > [https://camel.zulipchat.com/#narrow/stream/257301-camel-spring-boot/topic/Inline.20Routes.20.28Default.20Model.29] > Here is my code: > [https://github.com/rodrigoserracoelho/rest-demo] > Do let me know if you need more info. > Thanks. > BR, > Rodrigo -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Comment Edited] (CAMEL-19342) Rest Inline Routes mixed with direct routes.
[ https://issues.apache.org/jira/browse/CAMEL-19342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17722068#comment-17722068 ] rodrigo coelho edited comment on CAMEL-19342 at 5/12/23 8:43 AM: - What i see so far is: h3. Iteration 1 The method *DefaultModel.addRouteDefinitions* is called with the 2 route definitions: {code:java} Route(demo-test-0)[From[direct:demo-test-0] -> [OnException[[java.lang.Exception] -> []], LoadBalanceType[FailoverLoadBalancer, [To[http://localhost:8081/test?bridgeEndpoint=true&throwExceptionOnFailure=false] Route(rd-demo-test-0)[From[rest:get:/demo0?matchOnUriPrefix=true] -> [To[direct:demo-test-0]]]{code} The class attribute: *routeDefinitions* is _empty_ h3. Iteration 2 The method *DefaultModel.addRouteDefinitions* is called with the 2 route definitions: {code:java} Route(demo-test-1)[From[direct:demo-test-1] -> [OnException[[java.lang.Exception] -> []], LoadBalanceType[FailoverLoadBalancer, [To[http://localhost:8081/test?bridgeEndpoint=true&throwExceptionOnFailure=false] Route(rd-demo-test-1)[From[rest:get:/demo1?matchOnUriPrefix=true] -> [To[direct:demo-test-1]]] {code} The class attribute: *routeDefinitions* is *NOT* empty: {code:java} Route(rd-demo-test-0)[From[rest://get:/demo0?matchOnUriPrefix=true&routeId=rd-demo-test-0] -> [OnException[[java.lang.Exception] -> []], LoadBalanceType[FailoverLoadBalancer, [To[http://localhost:8081/test?bridgeEndpoint=true&throwExceptionOnFailure=false] {code} I think the problem shoud be around here, because we see a REST route with 3 elements: 1 - OnException 2- Load Balancer 3 - ToDefinition (where it fails) *This is the "inlined" route added from the first iteration (rd-demo-test-0), so i think it fails to be removed by the end of first iteration.* was (Author: coelhro): What i see so far is: h3. Iteration 1 The method *DefaultModel.addRouteDefinitions* is called with the 2 route definitions: {code:java} Route(demo-test-0)[From[direct:demo-test-0] -> [OnException[[java.lang.Exception] -> []], LoadBalanceType[FailoverLoadBalancer, [To[http://localhost:8081/test?bridgeEndpoint=true&throwExceptionOnFailure=false] Route(rd-demo-test-0)[From[rest:get:/demo0?matchOnUriPrefix=true] -> [To[direct:demo-test-0]]]{code} The class attribute: *routeDefinitions* is _empty_ h3. Iteration 2 The method *DefaultModel.addRouteDefinitions* is called with the 2 route definitions: {code:java} Route(demo-test-1)[From[direct:demo-test-1] -> [OnException[[java.lang.Exception] -> []], LoadBalanceType[FailoverLoadBalancer, [To[http://localhost:8081/test?bridgeEndpoint=true&throwExceptionOnFailure=false] Route(rd-demo-test-1)[From[rest:get:/demo1?matchOnUriPrefix=true] -> [To[direct:demo-test-1]]] {code} The class attribute: *routeDefinitions* is *NOT* empty: {code:java} Route(rd-demo-test-0)[From[rest://get:/demo0?matchOnUriPrefix=true&routeId=rd-demo-test-0] -> [OnException[[java.lang.Exception] -> []], LoadBalanceType[FailoverLoadBalancer, [To[http://localhost:8081/test?bridgeEndpoint=true&throwExceptionOnFailure=false] {code} I think the problem shoud be around here, because we see a REST route with 3 elements: 1 - OnException 2- Load Balancer 3 - ToDefinition (where it fails) *This route was added from the first iteration (rd-demo-test-0), so i think it fails to be removed by the end of first iteration.* > Rest Inline Routes mixed with direct routes. > > > Key: CAMEL-19342 > URL: https://issues.apache.org/jira/browse/CAMEL-19342 > Project: Camel > Issue Type: Bug > Components: came-core >Affects Versions: 3.20.4, 4.0-M3 >Reporter: rodrigo coelho >Priority: Major > > Hello, > For more information please follow Zulip thread: > [https://camel.zulipchat.com/#narrow/stream/257301-camel-spring-boot/topic/Inline.20Routes.20.28Default.20Model.29] > Here is my code: > [https://github.com/rodrigoserracoelho/rest-demo] > Do let me know if you need more info. > Thanks. > BR, > Rodrigo -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Comment Edited] (CAMEL-19342) Rest Inline Routes mixed with direct routes.
[ https://issues.apache.org/jira/browse/CAMEL-19342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17722068#comment-17722068 ] rodrigo coelho edited comment on CAMEL-19342 at 5/12/23 8:34 AM: - What i see so far is: h3. Iteration 1 The method *DefaultModel.addRouteDefinitions* is called with the 2 route definitions: {code:java} Route(demo-test-0)[From[direct:demo-test-0] -> [OnException[[java.lang.Exception] -> []], LoadBalanceType[FailoverLoadBalancer, [To[http://localhost:8081/test?bridgeEndpoint=true&throwExceptionOnFailure=false] Route(rd-demo-test-0)[From[rest:get:/demo0?matchOnUriPrefix=true] -> [To[direct:demo-test-0]]]{code} The class attribute: *routeDefinitions* is _empty_ h3. Iteration 2 The method *DefaultModel.addRouteDefinitions* is called with the 2 route definitions: {code:java} Route(demo-test-1)[From[direct:demo-test-1] -> [OnException[[java.lang.Exception] -> []], LoadBalanceType[FailoverLoadBalancer, [To[http://localhost:8081/test?bridgeEndpoint=true&throwExceptionOnFailure=false] Route(rd-demo-test-1)[From[rest:get:/demo1?matchOnUriPrefix=true] -> [To[direct:demo-test-1]]] {code} The class attribute: *routeDefinitions* is *NOT* empty: {code:java} Route(rd-demo-test-0)[From[rest://get:/demo0?matchOnUriPrefix=true&routeId=rd-demo-test-0] -> [OnException[[java.lang.Exception] -> []], LoadBalanceType[FailoverLoadBalancer, [To[http://localhost:8081/test?bridgeEndpoint=true&throwExceptionOnFailure=false] {code} I think the problem shoud be around here, because we see a REST route with 3 elements: 1 - OnException 2- Load Balancer 3 - ToDefinition (where it fails) *This route was added from the first iteration (rd-demo-test-0), so i think it fails to be removed by the end of first iteration.* was (Author: coelhro): What i see so far is: h3. Iteration 1 The method *DefaultModel.addRouteDefinitions* is called with the 2 route definitions: {code:java} Route(demo-test-0)[From[direct:demo-test-0] -> [OnException[[java.lang.Exception] -> []], LoadBalanceType[FailoverLoadBalancer, [To[http://localhost:8081/test?bridgeEndpoint=true&throwExceptionOnFailure=false] Route(rd-demo-test-0)[From[rest:get:/demo0?matchOnUriPrefix=true] -> [To[direct:demo-test-0]]]{code} The class attribute: *routeDefinitions* is _empty_ h3. Iteration 2 The method *DefaultModel.addRouteDefinitions* is called with the 2 route definitions: {code:java} Route(demo-test-1)[From[direct:demo-test-1] -> [OnException[[java.lang.Exception] -> []], LoadBalanceType[FailoverLoadBalancer, [To[http://localhost:8081/test?bridgeEndpoint=true&throwExceptionOnFailure=false] Route(rd-demo-test-1)[From[rest:get:/demo1?matchOnUriPrefix=true] -> [To[direct:demo-test-1]]] {code} The class attribute: *routeDefinitions* is *NOT* empty: {code:java} Route(rd-demo-test-0)[From[rest://get:/demo0?matchOnUriPrefix=true&routeId=rd-demo-test-0] -> [OnException[[java.lang.Exception] -> []], LoadBalanceType[FailoverLoadBalancer, [To[http://localhost:8081/test?bridgeEndpoint=true&throwExceptionOnFailure=false] {code} I think the problem shoud be around here, because we see a REST route with 3 elements: 1 - OnException 2- Load Balancer 3 - ToDefinition (where it fails) The routes got mixed somewhere, i will also continue my analysis. > Rest Inline Routes mixed with direct routes. > > > Key: CAMEL-19342 > URL: https://issues.apache.org/jira/browse/CAMEL-19342 > Project: Camel > Issue Type: Bug > Components: came-core >Affects Versions: 3.20.4, 4.0-M3 >Reporter: rodrigo coelho >Priority: Major > > Hello, > For more information please follow Zulip thread: > [https://camel.zulipchat.com/#narrow/stream/257301-camel-spring-boot/topic/Inline.20Routes.20.28Default.20Model.29] > Here is my code: > [https://github.com/rodrigoserracoelho/rest-demo] > Do let me know if you need more info. > Thanks. > BR, > Rodrigo -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (CAMEL-19342) Rest Inline Routes mixed with direct routes.
[ https://issues.apache.org/jira/browse/CAMEL-19342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17722068#comment-17722068 ] rodrigo coelho commented on CAMEL-19342: What i see so far is: h3. Iteration 1 The method *DefaultModel.addRouteDefinitions* is called with the 2 route definitions: {code:java} Route(demo-test-0)[From[direct:demo-test-0] -> [OnException[[java.lang.Exception] -> []], LoadBalanceType[FailoverLoadBalancer, [To[http://localhost:8081/test?bridgeEndpoint=true&throwExceptionOnFailure=false] Route(rd-demo-test-0)[From[rest:get:/demo0?matchOnUriPrefix=true] -> [To[direct:demo-test-0]]]{code} The class attribute: *routeDefinitions* is _empty_ h3. Iteration 2 The method *DefaultModel.addRouteDefinitions* is called with the 2 route definitions: {code:java} Route(demo-test-1)[From[direct:demo-test-1] -> [OnException[[java.lang.Exception] -> []], LoadBalanceType[FailoverLoadBalancer, [To[http://localhost:8081/test?bridgeEndpoint=true&throwExceptionOnFailure=false] Route(rd-demo-test-1)[From[rest:get:/demo1?matchOnUriPrefix=true] -> [To[direct:demo-test-1]]] {code} The class attribute: *routeDefinitions* is *NOT* empty: {code:java} Route(rd-demo-test-0)[From[rest://get:/demo0?matchOnUriPrefix=true&routeId=rd-demo-test-0] -> [OnException[[java.lang.Exception] -> []], LoadBalanceType[FailoverLoadBalancer, [To[http://localhost:8081/test?bridgeEndpoint=true&throwExceptionOnFailure=false] {code} I think the problem shoud be around here, because we see a REST route with 3 elements: 1 - OnException 2- Load Balancer 3 - ToDefinition (where it fails) The routes got mixed somewhere, i will also continue my analysis. > Rest Inline Routes mixed with direct routes. > > > Key: CAMEL-19342 > URL: https://issues.apache.org/jira/browse/CAMEL-19342 > Project: Camel > Issue Type: Bug > Components: came-core >Affects Versions: 3.20.4, 4.0-M3 >Reporter: rodrigo coelho >Priority: Major > > Hello, > For more information please follow Zulip thread: > [https://camel.zulipchat.com/#narrow/stream/257301-camel-spring-boot/topic/Inline.20Routes.20.28Default.20Model.29] > Here is my code: > [https://github.com/rodrigoserracoelho/rest-demo] > Do let me know if you need more info. > Thanks. > BR, > Rodrigo -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Created] (CAMEL-19342) Rest Inline Routes mixed with direct routes.
rodrigo coelho created CAMEL-19342: -- Summary: Rest Inline Routes mixed with direct routes. Key: CAMEL-19342 URL: https://issues.apache.org/jira/browse/CAMEL-19342 Project: Camel Issue Type: Bug Components: came-core Affects Versions: 4.0-M3, 3.20.4 Reporter: rodrigo coelho Hello, For more information please follow Zulip thread: [https://camel.zulipchat.com/#narrow/stream/257301-camel-spring-boot/topic/Inline.20Routes.20.28Default.20Model.29] Here is my code: [https://github.com/rodrigoserracoelho/rest-demo] Do let me know if you need more info. Thanks. BR, Rodrigo -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (CAMEL-17675) Rest DSL - Removed inlined routes
[ https://issues.apache.org/jira/browse/CAMEL-17675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17532261#comment-17532261 ] rodrigo coelho commented on CAMEL-17675: Thats exactly what we need to do, to keep up to dated with Camel. > Rest DSL - Removed inlined routes > - > > Key: CAMEL-17675 > URL: https://issues.apache.org/jira/browse/CAMEL-17675 > Project: Camel > Issue Type: Improvement > Components: camel-core >Reporter: Claus Ibsen >Assignee: Claus Ibsen >Priority: Major > Fix For: 3.16.0 > > > In the Rest DSL you can inline a route but that was a mistake. > I made a mistake when rest-dsl was created that you could embed a route > inside it > that is bad, instead its better as it was a facade to a route which you link > via direct. -- This message was sent by Atlassian Jira (v8.20.7#820007)
[jira] [Commented] (CAMEL-17675) Rest DSL - Removed inlined routes
[ https://issues.apache.org/jira/browse/CAMEL-17675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17532126#comment-17532126 ] rodrigo coelho commented on CAMEL-17675: Hello Remo, i agree with you, i had a chat with Claus yesterday, check it here: [https://camel.zulipchat.com/#narrow/stream/257301-camel-spring-boot/topic/RestDefinition] And the following issue here: https://issues.apache.org/jira/browse/CAMEL-18057 > Rest DSL - Removed inlined routes > - > > Key: CAMEL-17675 > URL: https://issues.apache.org/jira/browse/CAMEL-17675 > Project: Camel > Issue Type: Improvement > Components: camel-core >Reporter: Claus Ibsen >Assignee: Claus Ibsen >Priority: Major > Fix For: 3.16.0 > > > In the Rest DSL you can inline a route but that was a mistake. > I made a mistake when rest-dsl was created that you could embed a route > inside it > that is bad, instead its better as it was a facade to a route which you link > via direct. -- This message was sent by Atlassian Jira (v8.20.7#820007)
[jira] [Commented] (CAMEL-17675) Rest DSL - Removed inlined routes
[ https://issues.apache.org/jira/browse/CAMEL-17675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17531175#comment-17531175 ] rodrigo coelho commented on CAMEL-17675: Hello all, Any reason for the RestDefinition.to() not allowing String... ? Before this change i was getting my routeDefinition from the restDefinition.route() and later on adding the to(), now i'm forced to set to() on restDefinition? Can you explain me why? Thanks. Best, Rodrigo > Rest DSL - Removed inlined routes > - > > Key: CAMEL-17675 > URL: https://issues.apache.org/jira/browse/CAMEL-17675 > Project: Camel > Issue Type: Improvement > Components: camel-core >Reporter: Claus Ibsen >Assignee: Claus Ibsen >Priority: Major > Fix For: 3.16.0 > > > In the Rest DSL you can inline a route but that was a mistake. > I made a mistake when rest-dsl was created that you could embed a route > inside it > that is bad, instead its better as it was a facade to a route which you link > via direct. -- This message was sent by Atlassian Jira (v8.20.7#820007)
[jira] [Commented] (CAMEL-13091) Ensure that all spring boot starters have all their options documented
[ https://issues.apache.org/jira/browse/CAMEL-13091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17149572#comment-17149572 ] rodrigo coelho commented on CAMEL-13091: Hello, Where can we find the descriptions for the camel-zookeeper? > Ensure that all spring boot starters have all their options documented > -- > > Key: CAMEL-13091 > URL: https://issues.apache.org/jira/browse/CAMEL-13091 > Project: Camel > Issue Type: Task > Components: camel-spring-boot-starters >Reporter: Claus Ibsen >Priority: Major > Labels: help-wanted > Fix For: 3.x > > Time Spent: 20m > Remaining Estimate: 0h > > Some of the camel components do not have component level docs for all their > options, which are generated into the spring boot metadata. > You can see this with the build WARNs when building all the starter JARs. -- This message was sent by Atlassian Jira (v8.3.4#803005)