Class AMQPContentTypeSupport


  • public final class AMQPContentTypeSupport
    extends java.lang.Object
    • Constructor Detail

      • AMQPContentTypeSupport

        public AMQPContentTypeSupport()
    • Method Detail

      • parseContentTypeForTextualCharset

        public static java.nio.charset.Charset parseContentTypeForTextualCharset​(java.lang.String contentType)
                                                                          throws ActiveMQAMQPInvalidContentTypeException
        Parameters:
        contentType - the contentType of the received message
        Returns:
        the character set to use, or null if not to treat the message as text
        Throws:
        ActiveMQAMQPInvalidContentTypeException - if the content-type is invalid in some way.