The installer will need to register the datasource as an OSGi service.
The preferred way of defining the datasource is to expose it as an OSGi
service in a blueprint XML. An example that demonstrates this can be
https://github.com/FuseByExample/camel-persistence-part2 and the
relevant bit of code is here:
and is part of a series of Fuse examples that demonstrate various Fuse
capabilities that can be found here
I would recommend that you clone the example repository and try and run
With regards to more formal documentation on defining a JDBC DataSource
and XADataSource in Fuse, I found the JBoss Fuse Transaction Guide:
to be extremely helpful.