QueueMessage

public class QueueMessage

Represents a message from the JMS queue.

Constructors

QueueMessage

public QueueMessage(String messageId, Boolean redelivered, DateTime timestamp)

Constructor.

Parameters:
  • messageId – unique identifier for the message
  • redelivered – whether the message was delivered
  • timestamp – the timestamp of when the message was sent

Methods

getMessageId

public String getMessageId()
Returns:unique identifier for the message

getRedelivered

public Boolean getRedelivered()
Returns:true if the message is being resent to the consumer

getTimestamp

public String getTimestamp()
Returns:the timestamp of when the message was sent