public class ByteStreamWritingMessageHandler extends AbstractMessageHandler
MessageHandler that writes a byte array to an OutputStream.HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE| Constructor and Description |
|---|
ByteStreamWritingMessageHandler(java.io.OutputStream stream) |
ByteStreamWritingMessageHandler(java.io.OutputStream stream,
int bufferSize) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getComponentType()
Subclasses may implement this method to provide component type information.
|
protected void |
handleMessageInternal(Message<?> message) |
getOrder, handleMessage, setOrder, setShouldTrackafterPropertiesSet, getApplicationContextId, getBeanFactory, getComponentName, getConversionService, getIntegrationProperties, getIntegrationProperty, getMessageBuilderFactory, getTaskScheduler, onInit, setApplicationContext, setBeanFactory, setBeanName, setComponentName, setConversionService, setMessageBuilderFactory, setTaskScheduler, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetComponentNamepublic ByteStreamWritingMessageHandler(java.io.OutputStream stream)
public ByteStreamWritingMessageHandler(java.io.OutputStream stream,
int bufferSize)
public java.lang.String getComponentType()
IntegrationObjectSupportgetComponentType in interface NamedComponentgetComponentType in class AbstractMessageHandlerprotected void handleMessageInternal(Message<?> message)
handleMessageInternal in class AbstractMessageHandler