camel maven plugin error on generate phase
Hello. I am getting an error when building modules: [ERROR] Failed to execute goal org.apache.camel:camel-package-maven-plugin:3.15.0-SNAPSHOT:generate (generate) on project camel-direct: Error generating data org.apache.maven.plugin.MojoFailureException: Unable to create mojo: NullPointerException Is there something about 3.15.0-SNAPSHOT that has changed with regard to this plugin? Things were working well with the previous snapshot version. Have any of you seen this error, too? Thanks, Steve
Re: camel maven plugin error on generate phase
I want to add that I can successfully build a component module by executing mvn clean install -pl components/camel-direct -am -Pfastinstall, for example, from the top-level camel repository directory. But it fails if I descend any lower (to the components directory) with the error that I pasted in my previous email. On Thu, Dec 23, 2021 at 7:40 AM Steve973 wrote: > Hello. I am getting an error when building modules: > > [ERROR] Failed to execute goal > org.apache.camel:camel-package-maven-plugin:3.15.0-SNAPSHOT:generate > (generate) on project camel-direct: Error generating data > org.apache.maven.plugin.MojoFailureException: Unable to create mojo: > NullPointerException > > Is there something about 3.15.0-SNAPSHOT that has changed with regard to > this plugin? Things were working well with the previous snapshot version. > Have any of you seen this error, too? > > Thanks, > Steve >
Can ControlBus be used for custom management?
Hello. It appears that the control bus component can only be used for two commands (route and language), and for routes, you can only specify an action (start, stop, etc). What if we have a component that could also benefit from management messages? Would it make sense to have a third command of "component", and allow arbitrary URI params that the component understands? Thanks, Steve
[ANNOUNCE] Apache Camel 3.7.7 (LTS) Released
The Camel PMC is pleased to announce the release of Apache Camel 3.7.7. Apache Camel is an open source integration framework that empowers you to quickly and easily integrate various systems consuming or producing data. This release is a patch release for the LTS 3.7.x branch that contains 7 bug fixes and improvements. Please note that this is the last planned release for the 3.7.x branch. The release is available for immediate download at: https://camel.apache.org/download/ For more details please take a look at the release notes at: https://camel.apache.org/releases/release-3.7.7/
Re: camel maven plugin error on generate phase
Hi Yes the plugin is changed. You need to do a full rebuild local, mvn clean install -P fastinstall from the root folder. On Thu, Dec 23, 2021 at 1:41 PM Steve973 wrote: > > Hello. I am getting an error when building modules: > > [ERROR] Failed to execute goal > org.apache.camel:camel-package-maven-plugin:3.15.0-SNAPSHOT:generate > (generate) on project camel-direct: Error generating data > org.apache.maven.plugin.MojoFailureException: Unable to create mojo: > NullPointerException > > Is there something about 3.15.0-SNAPSHOT that has changed with regard to > this plugin? Things were working well with the previous snapshot version. > Have any of you seen this error, too? > > Thanks, > Steve -- Claus Ibsen - http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2
Re: Can ControlBus be used for custom management?
On Thu, Dec 23, 2021 at 2:21 PM Steve973 wrote: > > Hello. It appears that the control bus component can only be used for two > commands (route and language), and for routes, you can only specify an > action (start, stop, etc). What if we have a component that could also > benefit from management messages? Would it make sense to have a third > command of "component", and allow arbitrary URI params that the component > understands? > No that is not the design of this component - it is for the normal use cases, to manage routes. > Thanks, > Steve -- Claus Ibsen - http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2
Re: camel maven plugin error on generate phase
On Thu, Dec 23, 2021 at 3:17 PM Claus Ibsen wrote: > > Hi > > > Yes the plugin is changed. > You need to do a full rebuild local, > > mvn clean install -P fastinstall > > from the root folder. > And if you still have a problem, then can you paste the stacktrace (you can get that with -e as arg to maven) > > On Thu, Dec 23, 2021 at 1:41 PM Steve973 wrote: > > > > Hello. I am getting an error when building modules: > > > > [ERROR] Failed to execute goal > > org.apache.camel:camel-package-maven-plugin:3.15.0-SNAPSHOT:generate > > (generate) on project camel-direct: Error generating data > > org.apache.maven.plugin.MojoFailureException: Unable to create mojo: > > NullPointerException > > > > Is there something about 3.15.0-SNAPSHOT that has changed with regard to > > this plugin? Things were working well with the previous snapshot version. > > Have any of you seen this error, too? > > > > Thanks, > > Steve > > > > -- > Claus Ibsen > - > http://davsclaus.com @davsclaus > Camel in Action 2: https://www.manning.com/ibsen2 -- Claus Ibsen - http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2
Re: Can ControlBus be used for custom management?
What you can do is for your component to have a way to send "control" messages to it that it understands, then users can do from xxx to acme:control?action=foo&arg=bar On Thu, Dec 23, 2021 at 3:19 PM Claus Ibsen wrote: > > On Thu, Dec 23, 2021 at 2:21 PM Steve973 wrote: > > > > Hello. It appears that the control bus component can only be used for two > > commands (route and language), and for routes, you can only specify an > > action (start, stop, etc). What if we have a component that could also > > benefit from management messages? Would it make sense to have a third > > command of "component", and allow arbitrary URI params that the component > > understands? > > > > No that is not the design of this component - it is for the normal use > cases, to manage routes. > > > > > Thanks, > > Steve > > > > -- > Claus Ibsen > - > http://davsclaus.com @davsclaus > Camel in Action 2: https://www.manning.com/ibsen2 -- Claus Ibsen - http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2