I try to persist messages from activeMQ messaging in a postgres databases. This first step was easy. I added this CLI
/subsystem=datasources/data-source=messagingDS:add(jndi-name="java:jboss/datasources/messagingDS",use-java-context=true, \
use-ccm=true,connection-url="{{ pg_db_connection_url_messaging }}",driver-name=postgres,transaction-isolation=TRANSACTION_READ_COMMITTED,min-pool-size=0, \
max-pool-size=20,user-name={{ pg_db_user_pg }},password={{ pg_db_password_pg }},blocking-timeout-wait-millis=10000,check-valid-connection-sql=select 1,validate-on-match=true, \
valid-connection-checker-class-name="org.jboss.jca.adapters.jdbc.extensions.postgres.PostgreSQLValidConnectionChecker",validate-on-match=true, \
exception-sorter-class-name="org.jboss.jca.adapters.jdbc.extensions.postgres.PostgreSQLExceptionSorter")
/subsystem=datasources/data-source=messagingDS:test-connection-in-pool
/subsystem=messaging-activemq/server=default:write-attribute(name=journal-datasource, value=messagingDS)
But i want to use the same DB schema for more than one server on a cluster, somewhere i read i have to use some suffix, but i cant find information how to configure a suffix per server in activeMQ, any idea how to?