use of com.sun.appserv.connectors.internal.api.ConnectorRuntime in project Payara by payara.
the class JmsProviderLifecycle method initializeBroker.
public void initializeBroker() throws ConnectorRuntimeException {
if (!(brokerType == BROKER_TYPE.DISABLED)) {
String module = ConnectorConstants.DEFAULT_JMS_ADAPTER;
String loc = ConnectorsUtil.getSystemModuleLocation(module);
ConnectorRuntime connectorRuntime = connectorRuntimeProvider.get();
connectorRuntime.createActiveResourceAdapter(loc, module, null);
}
}
Aggregations