public class LogMessageBatchConverter extends Object implements org.springframework.jms.support.converter.MessageConverter
Modifier and Type | Class and Description |
---|---|
static class |
LogMessageBatchConverter.DestinationLog |
Constructor and Description |
---|
LogMessageBatchConverter() |
Modifier and Type | Method and Description |
---|---|
Object |
fromMessage(javax.jms.Message message) |
static Byte |
getDestinationId(AbstractAddLogEntry message) |
static Pair<LogEntry,Byte> |
readLogEntry(javax.jms.BytesMessage jmsMessage) |
static LoggerId<? extends Key> |
readLoggerId(javax.jms.BytesMessage jmsMessage) |
static int |
readMessageCount(javax.jms.BytesMessage jmsMessage) |
javax.jms.Message |
toMessage(Object o,
javax.jms.Session session) |
public static Pair<LogEntry,Byte> readLogEntry(javax.jms.BytesMessage jmsMessage) throws javax.jms.JMSException
javax.jms.JMSException
public static Byte getDestinationId(@NotNull AbstractAddLogEntry message)
public javax.jms.Message toMessage(Object o, javax.jms.Session session) throws javax.jms.JMSException, org.springframework.jms.support.converter.MessageConversionException
toMessage
in interface org.springframework.jms.support.converter.MessageConverter
javax.jms.JMSException
org.springframework.jms.support.converter.MessageConversionException
public Object fromMessage(javax.jms.Message message) throws javax.jms.JMSException, org.springframework.jms.support.converter.MessageConversionException
fromMessage
in interface org.springframework.jms.support.converter.MessageConverter
javax.jms.JMSException
org.springframework.jms.support.converter.MessageConversionException
public static int readMessageCount(javax.jms.BytesMessage jmsMessage) throws javax.jms.JMSException
javax.jms.JMSException
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.