|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BlobMessage
Represents a message which has a typically out of band Binary Large Object (BLOB)
Field Summary |
---|
Fields inherited from interface javax.jms.Message |
---|
DEFAULT_DELIVERY_MODE, DEFAULT_PRIORITY, DEFAULT_TIME_TO_LIVE |
Method Summary | |
---|---|
InputStream |
getInputStream()
Return the input stream to process the BLOB |
String |
getMimeType()
The MIME type of the BLOB which can be used to apply different content types to messages. |
String |
getName()
|
URL |
getURL()
Returns the URL for the blob if its available as an external URL (such as file, http, ftp etc) or null if there is no URL available |
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 |
void |
setName(String name)
The name of the attachment which can be useful information if transmitting files over ActiveMQ |
Methods inherited from interface org.apache.activemq.Message |
---|
getJMSXMimeType |
Method Detail |
---|
InputStream getInputStream() throws IOException, JMSException
IOException
JMSException
URL getURL() throws MalformedURLException, JMSException
MalformedURLException
JMSException
String getMimeType()
void setMimeType(String mimeType)
String getName()
void setName(String name)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |