public class MimeMessageBlobMessageSource extends MimeMessageSource implements ActiveMQSupport
JAMES_BLOB_URL, JAMES_QUEUE_NAME, JAMES_REUSE_BLOB_URLJAMES_MAIL_ATTRIBUTE_NAMES, JAMES_MAIL_ERROR_MESSAGE, JAMES_MAIL_LAST_UPDATED, JAMES_MAIL_MESSAGE_SIZE, JAMES_MAIL_NAME, JAMES_MAIL_RECIPIENTS, JAMES_MAIL_REMOTEADDR, JAMES_MAIL_REMOTEHOST, JAMES_MAIL_SENDER, JAMES_MAIL_SEPARATOR, JAMES_MAIL_STATE, JAMES_NEXT_DELIVERY| Constructor and Description | 
|---|
| MimeMessageBlobMessageSource(org.apache.activemq.BlobMessage message) | 
| Modifier and Type | Method and Description | 
|---|---|
| InputStream | getInputStream()Get an input stream to retrieve the data stored in the datasource | 
| long | getMessageSize()Return the size of all the data. | 
| String | getSourceId()Returns a unique String ID that represents the location from where this
 file is loaded. | 
public MimeMessageBlobMessageSource(org.apache.activemq.BlobMessage message)
                             throws javax.jms.JMSException
javax.jms.JMSExceptionpublic InputStream getInputStream() throws IOException
MimeMessageSourcegetInputStream in class MimeMessageSourceInputStream containing the dataIOException - if an error occurs while generating the InputStreamMimeMessageSource.getInputStream()public String getSourceId()
MimeMessageSourcegetSourceId in class MimeMessageSourceMimeMessageSource.getSourceId()public long getMessageSize()
                    throws IOException
MimeMessageSourcegetMessageSize in class MimeMessageSourceIOException - if an error is encountered while computing the message sizeCopyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.