Package org.apache.qpid.jms.message
Class JmsMessagePropertySupport
java.lang.Object
org.apache.qpid.jms.message.JmsMessagePropertySupport
Provides methods for use when working with JMS Message Properties and their values.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcheckIdentifierIsntLogicOperator(String identifier) static voidcheckIdentifierIsntNullTrueFalse(String identifier) static voidcheckIdentifierLetterAndDigitRequirements(String identifier) static voidcheckPropertyNameIsValid(String propertyName, boolean validateNames) static voidcheckValidObject(Object value) static <T> TconvertPropertyTo(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
-