You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes we use OMS.builder().build(properties) to create the MessagingAccessPoint, it can work well in most scenarios.
But sometimes there are existed problem.
If we load the openmessaging-api in moduleA, and we use a customized ClassLoader to load the driver class, then we cannot get the driver class by Class.forName(driverImpl)
It is better to use Class.forName(String name, boolean initialize,ClassLoader loader) to get the driver class in line 50.
Sometimes we use OMS.builder().build(properties) to create the MessagingAccessPoint, it can work well in most scenarios.
But sometimes there are existed problem.
If we load the
openmessaging-api
inmoduleA
, and we use a customized ClassLoader to load the driver class, then we cannot get the driver class by Class.forName(driverImpl)It is better to use
Class.forName(String name, boolean initialize,ClassLoader loader)
to get the driver class in line 50.openmessaging-java/openmessaging-api/src/main/java/io/openmessaging/internal/MessagingAccessPointAdapter.java
Lines 46 to 65 in 5d79606
The text was updated successfully, but these errors were encountered: