Package org.messaginghub.pooled.jms.util
Class JMSMessagePropertySupport
java.lang.Object
org.messaginghub.pooled.jms.util.JMSMessagePropertySupport
Provides methods for use when working with JMS Message Properties and their values.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
checkIdentifierIsntLogicOperator
(String identifier) static void
checkIdentifierIsntNullTrueFalse
(String identifier) static void
checkIdentifierLetterAndDigitRequirements
(String identifier) static void
checkPropertyNameIsValid
(String propertyName, boolean validateNames) static void
checkValidObject
(Object value) static <T> T
convertPropertyTo
(String name, Object value, Class<T> target)
-
Constructor Details
-
JMSMessagePropertySupport
public JMSMessagePropertySupport()
-
-
Method Details
-
convertPropertyTo
public static <T> T convertPropertyTo(String name, Object value, Class<T> target) throws jakarta.jms.JMSException - Throws:
jakarta.jms.JMSException
-
checkPropertyNameIsValid
public static void checkPropertyNameIsValid(String propertyName, boolean validateNames) throws IllegalArgumentException - Throws:
IllegalArgumentException
-
checkIdentifierIsntLogicOperator
-
checkIdentifierIsntNullTrueFalse
-
checkIdentifierLetterAndDigitRequirements
-
checkValidObject
- Throws:
jakarta.jms.MessageFormatException
-