Package org.apache.activemq.openwire
Class OpenWireUtil
java.lang.Object
org.apache.activemq.openwire.OpenWireUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringconvertJmsPackage(String className) This method can be used to convert from javax -> jakarta or vice versa depending on the version used by the clientstatic voidvalidateIsThrowable(Class<?> clazz) Verify that the provided class extendsThrowableand throw anIllegalArgumentExceptionif it does not.
-
Constructor Details
-
OpenWireUtil
public OpenWireUtil()
-
-
Method Details
-
validateIsThrowable
Verify that the provided class extendsThrowableand throw anIllegalArgumentExceptionif it does not.- Parameters:
clazz-
-
convertJmsPackage
This method can be used to convert from javax -> jakarta or vice versa depending on the version used by the client- Parameters:
className-- Returns:
-