Package org.apache.qpid.jms.message
Class JmsMessagePropertySupport
- java.lang.Object
-
- org.apache.qpid.jms.message.JmsMessagePropertySupport
-
public class JmsMessagePropertySupport extends Object
Provides methods for use when working with JMS Message Properties and their values.
-
-
Constructor Summary
Constructors Constructor Description JmsMessagePropertySupport()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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)
-
-
-
Method Detail
-
convertPropertyTo
public static <T> T convertPropertyTo(String name, Object value, Class<T> target) throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
-
checkPropertyNameIsValid
public static void checkPropertyNameIsValid(String propertyName, boolean validateNames) throws IllegalArgumentException
- Throws:
IllegalArgumentException
-
checkIdentifierIsntLogicOperator
public static void checkIdentifierIsntLogicOperator(String identifier)
-
checkIdentifierIsntNullTrueFalse
public static void checkIdentifierIsntNullTrueFalse(String identifier)
-
checkIdentifierLetterAndDigitRequirements
public static void checkIdentifierLetterAndDigitRequirements(String identifier)
-
checkValidObject
public static void checkValidObject(Object value) throws javax.jms.MessageFormatException
- Throws:
javax.jms.MessageFormatException
-
-