Interface BlobMessage

  • All Superinterfaces:
    Message, Message
    All Known Implementing Classes:
    ActiveMQBlobMessage

    public interface BlobMessage
    extends Message
    Represents a message which has a typically out of band Binary Large Object (BLOB)
    • Method Detail

      • getMimeType

        String getMimeType()
        The MIME type of the BLOB which can be used to apply different content types to messages.
      • setMimeType

        void setMimeType​(String mimeType)
        Sets the MIME type of the BLOB so that a consumer can process things nicely with a Java Activation Framework DataHandler
      • setName

        void setName​(String name)
        The name of the attachment which can be useful information if transmitting files over ActiveMQ