THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
If you want to create your own version of the Camel Component you can use the maven archetype Camel Maven Archetypes.
Code Block |
---|
mvn archetype:generate \ -DarchetypeGroupId=org.apache.camel.archetypes \ -DarchetypeArtifactId=camel-archetype-component \ -DarchetypeVersion=2.29.0 \ -DgroupId=myGroupId \ -DartifactId=myArtifactId |
...
Name | Default | Description |
---|---|---|
name | HelloWorld | The name of the component. It will be used as a prefix for all generated classes. |
scheme | helloworld | The default URI scheme the component will use. |
Usage Examples:
To create the "Awesome" component and all its related classes (AwesomeComponent, AwesomeEndpoint, AwesomeProducer etc) that will use the awesome URI scheme:
Code Block |
---|
mvn archetype:generate \ -DarchetypeGroupId=org.apache.camel.archetypes \ -DarchetypeArtifactId=camel-archetype-component \ -DarchetypeVersion=2.29.0 \ -DgroupId=myGroupId \ -DartifactId=myArtifactId \ -Dname=Awesome \ -Dscheme=awsome \ |
...