Class RMMessage

java.lang.Object
org.apache.cxf.ws.rm.persistence.RMMessage

public class RMMessage extends Object
  • Constructor Details

    • RMMessage

      public RMMessage()
  • Method Details

    • getMessageNumber

      public long getMessageNumber()
      Returns the message number of the message within its sequence.
      Returns:
      the message number
    • setMessageNumber

      public void setMessageNumber(long mn)
      Sets the message number of the message within its sequence.
      Parameters:
      mn - the message number
    • setContent

      public void setContent(org.apache.cxf.io.CachedOutputStream cos)
      Sets the message content using the CachedOutputStream.class.
      Parameters:
      cos -
    • getTo

      public String getTo()
      Returns the to address of this message.
      Returns:
      the to address
    • setTo

      public void setTo(String t)
      Sets the to address of this message.
      Parameters:
      t - the to address
    • getContent

      public org.apache.cxf.io.CachedOutputStream getContent()
      Returns the CachedOutputStream of this message content.
      Returns:
      Throws:
      IOException
    • getAttachments

      @Deprecated public List<InputStream> getAttachments()
      Deprecated.
      not used as the optional attachments are stored in the content
      Returns the list of attachments.
      Returns:
      list (non-null)
    • setAttachments

      @Deprecated public void setAttachments(List<InputStream> attaches)
      Deprecated.
      not used as the optional attachments are stored in the content
      Set the list of attachments.
      Parameters:
      attaches - (non-null)
    • getContentType

      public String getContentType()
      Returns the content type of the message content
      Returns:
    • setContentType

      public void setContentType(String contentType)
      Set the content type of the RMMessage
      Parameters:
      contentType -
    • getCreatedTime

      public long getCreatedTime()
    • setCreatedTime

      public void setCreatedTime(long createdTime)