Class JMSMessagePropertySupport

java.lang.Object
org.messaginghub.pooled.jms.util.JMSMessagePropertySupport

public class JMSMessagePropertySupport extends Object
Provides methods for use when working with JMS Message Properties and their values.
  • 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

      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 jakarta.jms.MessageFormatException
      Throws:
      jakarta.jms.MessageFormatException