public class ByteStreamWritingMessageHandler extends AbstractMessageHandler
MessageHandler
that writes a byte array to an OutputStream
.Constructor and Description |
---|
ByteStreamWritingMessageHandler(java.io.OutputStream stream) |
ByteStreamWritingMessageHandler(java.io.OutputStream stream,
int bufferSize) |
Modifier and Type | Method and Description |
---|---|
protected void |
handleMessageInternal(Message<?> message) |
getComponentType, getOrder, handleMessage, setOrder, setShouldTrack
afterPropertiesSet, getApplicationContextId, getBeanFactory, getComponentName, getConversionService, getIntegrationProperties, getIntegrationProperty, getTaskScheduler, onInit, setApplicationContext, setBeanFactory, setBeanName, setComponentName, setConversionService, setTaskScheduler, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getComponentName
public ByteStreamWritingMessageHandler(java.io.OutputStream stream)
public ByteStreamWritingMessageHandler(java.io.OutputStream stream, int bufferSize)
protected void handleMessageInternal(Message<?> message)
handleMessageInternal
in class AbstractMessageHandler