You need two configurations of datasources i.e. two *-ds.xml files.
Whithin the messaging persistence service or other services you reference the (JNDI) name of the datasource.
Reply to this message by going to Community
Start a new discussion in Datasource Configuration at Community