org.springframework.integration.stream
Class ByteStreamWritingMessageHandler
java.lang.Object
org.springframework.integration.context.IntegrationObjectSupport
org.springframework.integration.handler.AbstractMessageHandler
org.springframework.integration.stream.ByteStreamWritingMessageHandler
- All Implemented Interfaces:
- BeanFactoryAware, BeanNameAware, InitializingBean, Ordered, NamedComponent, MessageHandler, TrackableComponent
public class ByteStreamWritingMessageHandler
- extends AbstractMessageHandler
A MessageHandler
that writes a byte array to an OutputStream
.
- Author:
- Mark Fisher
Methods inherited from class org.springframework.integration.context.IntegrationObjectSupport |
afterPropertiesSet, getBeanFactory, getComponentName, getConversionService, getRequiredMetadataPersister, getTaskScheduler, onInit, setBeanFactory, setBeanName, setComponentName, setConversionService, setTaskScheduler, toString |
ByteStreamWritingMessageHandler
public ByteStreamWritingMessageHandler(OutputStream stream)
ByteStreamWritingMessageHandler
public ByteStreamWritingMessageHandler(OutputStream stream,
int bufferSize)
handleMessageInternal
protected void handleMessageInternal(Message<?> message)
- Specified by:
handleMessageInternal
in class AbstractMessageHandler
Copyright © 2010. All Rights Reserved.