]
Brett Meyer updated SRAMP-428:
------------------------------
Git Pull Request:
Support Fuse datasources
------------------------
Key: SRAMP-428
URL:
https://issues.jboss.org/browse/SRAMP-428
Project: S-RAMP
Issue Type: Task
Security Level: Public(Everyone can see)
Reporter: Brett Meyer
Assignee: Brett Meyer
Fix For: 0.5.0 - API Management
The installer will need to register the datasource as an OSGi service.
{quote}
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
found here:
https://github.com/FuseByExample/camel-persistence-part2 and the
relevant bit of code is here:
https://github.com/FuseByExample/camel-persistence-part2/blob/master/data...
and is part of a series of Fuse examples that demonstrate various Fuse
capabilities that can be found here
https://www.jboss.org/products/fuse/fusebyexample.html
I would recommend that you clone the example repository and try and run
through it.
With regards to more formal documentation on defining a JDBC DataSource
and XADataSource in Fuse, I found the JBoss Fuse Transaction Guide:
https://access.redhat.com/site/documentation/en-US/Red_Hat_JBoss_Fuse/6.1...
https://access.redhat.com/site/documentation/en-US/Red_Hat_JBoss_Fuse/6.1...
to be extremely helpful.
{quote}