1 17 package org.apache.activemq; 18 19 import javax.jms.JMSException ; 20 import java.net.URL ; 21 import java.net.MalformedURLException ; 22 import java.io.InputStream ; 23 import java.io.IOException ; 24 25 31 public interface BlobMessage extends Message { 32 33 36 InputStream getInputStream() throws IOException , JMSException ; 37 38 42 URL getURL() throws MalformedURLException , JMSException ; 43 44 45 48 String getMimeType(); 49 50 54 void setMimeType(String mimeType); 55 56 57 String getName(); 58 59 62 void setName(String name); 63 } 64 | Popular Tags |