Class LogMessageBatchConverter

  • All Implemented Interfaces:
    org.springframework.jms.support.converter.MessageConverter

    public class LogMessageBatchConverter
    extends Object
    implements org.springframework.jms.support.converter.MessageConverter
    • Constructor Detail

      • LogMessageBatchConverter

        public LogMessageBatchConverter()
    • Method Detail

      • readLogEntry

        public static AbstractAddLogEntry readLogEntry​(LoggerId<? extends Key> loggerId,
                                                       javax.jms.BytesMessage jmsMessage)
                                                throws javax.jms.JMSException
        Throws:
        javax.jms.JMSException
      • toMessage

        public javax.jms.Message toMessage​(Object o,
                                           javax.jms.Session session)
                                    throws javax.jms.JMSException,
                                           org.springframework.jms.support.converter.MessageConversionException
        Specified by:
        toMessage in interface org.springframework.jms.support.converter.MessageConverter
        Throws:
        javax.jms.JMSException
        org.springframework.jms.support.converter.MessageConversionException
      • fromMessage

        public Object fromMessage​(javax.jms.Message message)
                           throws javax.jms.JMSException,
                                  org.springframework.jms.support.converter.MessageConversionException
        Specified by:
        fromMessage in interface org.springframework.jms.support.converter.MessageConverter
        Throws:
        javax.jms.JMSException
        org.springframework.jms.support.converter.MessageConversionException
      • readMessageCount

        public static int readMessageCount​(javax.jms.BytesMessage jmsMessage)
                                    throws javax.jms.JMSException
        Throws:
        javax.jms.JMSException
      • readLoggerId

        @Nullable
        public static @Nullable LoggerId<? extends Key> readLoggerId​(javax.jms.BytesMessage jmsMessage)
                                                              throws javax.jms.JMSException
        Throws:
        javax.jms.JMSException