How to write a connector?
Closed this issue · 2 comments
I'd like to use the JBoss Fuse ESB. The major part of our application connects to Fuse via Webservices (i.e. SOAP). However, we have a few devices speaking a different protocol (Modbus/TCP). I haven't found a third-party adapter. So I'd like to write it myself.
Where can I find the documentation about writing connectors? Is there an example source code?
Thanks in advance
Stephan
Hello,
a ControlBus component is available in Camel:
http://camel.apache.org/controlbus.html
Someone developed Jamod components:
https://github.com/sworisbreathing/camel-jamod
If you want to write your own camel connector, please have a look to Camel documentation: http://camel.apache.org/writing-components.html
You can also have a look to Forge command:
- Use 'command-list' in forge console to ensure you see api-component-* commands for working with an API Component project
- Use 'project-new' to create an empty project to start
- Use 'api-component-setup' to add camel config and starting point code
- Use 'api-component-add-api' to add an API to the project
- Use the rest of the 'api-component-*' commands to add other bits needed in the API component project
Regards,
Thanks!