Tune one-phase commit optimization
If we have configured our messaging engine to use a data store, we can achieve better performance by configuring both the messaging engine and container-managed persistent (CMP) beans to share the same data source.
Configure both the CMP bean and the messaging engine resource authorization so that they share the same data source.
Tasks
- Open the administrative console.
- Click Applications -> Application Types -> WebSphere enterprise applications -> application_name -> [Enterprise Java Bean Properties] Map data sources for all 2.x CMP beans.
- 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.
Configure a messaging engine to use a data store Service integration custom properties