Tuning one-phase commit optimization
If you have configured your messaging engine to use a data store, you can achieve better performance by configuring both the messaging engine and container-managed persistent (CMP) beans to share the same data source.
About this task
You must configure both the CMP bean and the messaging engine resource authorization so that they share the same data source.
Procedure
- Open the administrative console.
- Click .
- On the content pane, select the check boxes next to all the CMP beans.
- Select Per application in the Resource authorization drop-down list.
- Modify the messaging engine resource authorization to Per application by modifying the property file sib.properties and adding the custom property sib.msgstore.jdbcResAuthForConnections=Application.