Configuring a messaging engine to use a data store

Although the default message store for a typical messaging engine is file store, you can also configure a messaging engine to use a data store.

About this task

Each messaging engine has its own file store or data store. If the data store is chosen the messaging engine uses an instance of a JDBC data source to interact with the database that contains the data store for that messaging engine.

When a new messaging engine that uses a data store is created on a single server, it is configured to use an Apache Derby data source by default. This enables the messaging engine to run without needing any additional configuration.

If you want to configure a new messaging engine to use your chosen data source when you create that messaging engine on a single server, see Adding a server as a new bus member.

When a messaging engine is created as a member of a cluster, you must explicitly configure both the data store and the JDBC data source that the messaging engine uses to interact with the data store. You must also set Purge policy to EntirePool. For more information, see Tuning the JDBC data source of a messaging engine.

If you do not want to use the default data source configuration, you can use the WebSphere® Application Server administrative console to change the configuration parameters. For example, you can change the data source or you can configure the data store to use a different JDBC provider.

If you configure a new messaging engine to use your chosen data source when you create that messaging engine as a member of a cluster, see Adding a server as a new bus member.

Supported configurations: WebSphere Application Server supports direct customer use of the Apache Derby database in test environments only. The product does not support direct customer use of Apache Derby database in production environments. The product supports the use of Apache Derby only by internal application server components in production environments.