Route group
Recently, a “route group“ was added: https://issues.apache.org/jira/browse/CAMEL-11669 The ticket mentioned that the route group is a “logical group” that one or more routes are attached to. Some questions about this new feature: 1. Is the syntax still the same as in the ticket? 2. Is this already documented? 3. Is this also part of Camel 4? (The fixed version is 3.22.0. Probably this also added to Camel 4) 4. Is there also an API for this feature (for example to retrieve the group of a route, or to start/stop a complete group of routes). I have similar functionality in Assimbly (a group of routes is called a flow there) and would rather port this functionality to Camel 4 if if rich enough. What I currently do to manage a group of routes is to have routeid that is build up like this: groupid_routeid Then I can stop a group like this: List routeList = getRoutesByFlowId(id); for (Route route : routeList) { String routeId = route.getId(); log.info("Stopping step | flowid=" + route.getId()); routeController.stopRoute(routeId, stopTimeout, TimeUnit.SECONDS); context.removeRoute(routeId); if(route.getConfigurationId()!=null) { removeRouteConfiguration(route.getConfigurationId()); } } The getRoutesByFlouwId gets the related routes for a group and then loops them one by one. This however with large groups can take a while. Would be nice to do something like this: routeController.stopGroup("groupId") Raymond
Re: [VOTE] Release Apache Camel Kamelets 4.2.0
+1 (binding) thanks Andrea Le jeu. 16 nov. 2023 à 10:28, Andrea Cosentino a écrit : > Hello all, > > This is a vote for releasing camel-kamelets 4.2.0 > > This release will support the 4.2.0 release of Apache Camel. > > This release also: > - Removed the kebab-case syntax for YAML DSL in Kamelets, by moving to > camelCase > - Removed some of the datatypes from the utils to the main Camel release > - Introduce some Kamelets for dealing with Kafka Schema Registries from > Azure and Apicurio > > More info at: > https://github.com/apache/camel-kamelets/blob/main/CHANGELOG.md > > Kamelets release files: > https://dist.apache.org/repos/dist/dev/camel/camel-kamelets/4.2.0 > Kamelets staging repository: > https://repository.apache.org/content/repositories/orgapachecamel-1646 > Kamelets Tag: > https://github.com/apache/camel-kamelets/releases/tag/v4.2.0 > > Please cast your vote. > > [ ] +1 Release camel-kamelets 4.2.0 > [ ] -1 Veto the release (provide specific comments) > > The vote is open for at least 72 hours. > > Here's my +1. > > Thanks, > Andrea Cosentino > -- Zineb Bendhiba
[VOTE] Release Apache Camel Kamelets 4.2.0
Hello all, This is a vote for releasing camel-kamelets 4.2.0 This release will support the 4.2.0 release of Apache Camel. This release also: - Removed the kebab-case syntax for YAML DSL in Kamelets, by moving to camelCase - Removed some of the datatypes from the utils to the main Camel release - Introduce some Kamelets for dealing with Kafka Schema Registries from Azure and Apicurio More info at: https://github.com/apache/camel-kamelets/blob/main/CHANGELOG.md Kamelets release files: https://dist.apache.org/repos/dist/dev/camel/camel-kamelets/4.2.0 Kamelets staging repository: https://repository.apache.org/content/repositories/orgapachecamel-1646 Kamelets Tag: https://github.com/apache/camel-kamelets/releases/tag/v4.2.0 Please cast your vote. [ ] +1 Release camel-kamelets 4.2.0 [ ] -1 Veto the release (provide specific comments) The vote is open for at least 72 hours. Here's my +1. Thanks, Andrea Cosentino