Package org.wso2.carbon.andes.utils
Class MessageBrokerDBUtil
java.lang.Object
org.wso2.carbon.andes.utils.MessageBrokerDBUtil
Initialize MB RDBMS store database
Connect to an external RDBMS store automatically when Dsetup feature enabled with wso2server startup script. This utility class contain methods for following functions. 1. Find rdbms configurations to rdbms data store from external source. 2. Source given sql scripts according to data source configurations. 3. verify database tables are created.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidCreating schema for RDBMS message store using jndi exposed data sources by Carbon (these data sources are formed reading /repository/conf/masterdatasource.xml file)
-
Constructor Details
-
MessageBrokerDBUtil
public MessageBrokerDBUtil()
-
-
Method Details
-
initialize
Creating schema for RDBMS message store using jndi exposed data sources by Carbon (these data sources are formed reading /repository/conf/masterdatasource.xml file)- Throws:
ConfigurationException- throws exception if error occurs while creating DB schema
-