org.springframework.integration.stream
Class ByteStreamWritingMessageHandler

java.lang.Object
  extended by org.springframework.integration.context.IntegrationObjectSupport
      extended by org.springframework.integration.handler.AbstractMessageHandler
          extended by org.springframework.integration.stream.ByteStreamWritingMessageHandler
All Implemented Interfaces:
BeanFactoryAware, BeanNameAware, InitializingBean, Ordered, NamedComponent, Orderable, MessageHandler, TrackableComponent

public class ByteStreamWritingMessageHandler
extends AbstractMessageHandler

A MessageHandler that writes a byte array to an OutputStream.


Field Summary
 
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
 
Constructor Summary
ByteStreamWritingMessageHandler(java.io.OutputStream stream)
           
ByteStreamWritingMessageHandler(java.io.OutputStream stream, int bufferSize)
           
 
Method Summary
protected  void handleMessageInternal(Message<?> message)
           
 
Methods inherited from class org.springframework.integration.handler.AbstractMessageHandler
getComponentType, getOrder, handleMessage, setOrder, setShouldTrack
 
Methods inherited from class org.springframework.integration.context.IntegrationObjectSupport
afterPropertiesSet, getBeanFactory, getComponentName, getConversionService, getTaskScheduler, onInit, setBeanFactory, setBeanName, setComponentName, setConversionService, setTaskScheduler, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.springframework.integration.context.NamedComponent
getComponentName
 

Constructor Detail

ByteStreamWritingMessageHandler

public ByteStreamWritingMessageHandler(java.io.OutputStream stream)

ByteStreamWritingMessageHandler

public ByteStreamWritingMessageHandler(java.io.OutputStream stream,
                                       int bufferSize)
Method Detail

handleMessageInternal

protected void handleMessageInternal(Message<?> message)
Specified by:
handleMessageInternal in class AbstractMessageHandler