Interface ContentTypeRule

    • Method Detail

      • getContentType

        ContentTypeInfo getContentType​(javax.jms.Message message)
                                throws javax.jms.JMSException
        Attempt to determine the content type of the given JMS message.
        Parameters:
        message - the message
        Returns:
        If the rule matches, the return value encapsulates the content type of the message and the message property name from which is was extracted (if applicable). If the rule doesn't match, the method returns null.
        Throws:
        javax.jms.JMSException
      • getExpectedContentTypeProperty

        String getExpectedContentTypeProperty()
        Get the name of the message property used to extract the content type from, if applicable.
        Returns:
        the property name or null if not applicable