Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 0.5.0.Alpha1
    • Component/s: None
    • Labels:
      None

      Description

      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
      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/datasource/src/main/resources/OSGI-INF/blueprint/datasource.xml

      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/html/Transaction_Guide/files/TxnManagers-Samples-JDBC.html
      https://access.redhat.com/site/documentation/en-US/Red_Hat_JBoss_Fuse/6.1/html/Transaction_Guide/files/XaJdbc-DataSources.html

      to be extremely helpful.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                brmeyer Brett Meyer
                Reporter:
                brmeyer Brett Meyer
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: