Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This topic explains the purpose of using custom datasources and how you can define custom datasource implementations using the management console. Alternatively, you can simply create datasources using the default RDBMS configuration provided in WSO2 products.

Info

Note that when you define a data service, you have the option of using the common datasource types, such as EXCEL, CSV etc., in addition to custom datasources. See the topic on creating datasources for a data service.

...

Info
titleSamples
  • InMemoryDSSample is a sample data service (shipped with DSS by default), which contains both datasource implementations (InMemoryDataSource and EchoDataSource) explained above. See a demonstration of this sample here.
  • Also, you can find a sample configuration file containing the InMemoryDSSample in the  <PRODUCT_HOME>\repository\conf\datasources\custom-datasources.xml file.

...