@Deprecated public class ActiveMQOutputStream extends OutputStream implements Disposable
| Modifier and Type | Field and Description |
|---|---|
static String |
AMQ_STREAM_CHUNK_SIZE
Deprecated.
JMS Property which is used to specify the size (in kb) which is used as chunk size when splitting the stream.
|
protected int |
count
Deprecated.
|
| Constructor and Description |
|---|
ActiveMQOutputStream(ActiveMQConnection connection,
ProducerId producerId,
ActiveMQDestination destination,
Map<String,Object> properties,
int deliveryMode,
int priority,
long timeToLive)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Deprecated.
|
void |
dispose()
Deprecated.
|
void |
flush()
Deprecated.
|
boolean |
isAddPropertiesOnFirstMsgOnly()
Deprecated.
|
boolean |
isAlwaysSyncSend()
Deprecated.
|
void |
setAddPropertiesOnFirstMsgOnly(boolean propertiesOnFirstMsgOnly)
Deprecated.
|
void |
setAlwaysSyncSend(boolean alwaysSyncSend)
Deprecated.
|
String |
toString()
Deprecated.
|
void |
write(byte[] b,
int off,
int len)
Deprecated.
|
void |
write(int b)
Deprecated.
|
writeprotected int count
public static final String AMQ_STREAM_CHUNK_SIZE
public ActiveMQOutputStream(ActiveMQConnection connection, ProducerId producerId, ActiveMQDestination destination, Map<String,Object> properties, int deliveryMode, int priority, long timeToLive) throws javax.jms.JMSException
javax.jms.JMSExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class OutputStreamIOExceptionpublic void dispose()
dispose in interface Disposablepublic void write(int b)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] b,
int off,
int len)
throws IOException
write in class OutputStreamIOExceptionpublic void flush()
throws IOException
flush in interface Flushableflush in class OutputStreamIOExceptionpublic boolean isAlwaysSyncSend()
public void setAlwaysSyncSend(boolean alwaysSyncSend)
public boolean isAddPropertiesOnFirstMsgOnly()
public void setAddPropertiesOnFirstMsgOnly(boolean propertiesOnFirstMsgOnly)
Copyright © 2005-2015 The Apache Software Foundation. All Rights Reserved.