public class ByteStreamReadingMessageSource
extends org.springframework.integration.context.IntegrationObjectSupport
implements org.springframework.integration.core.MessageSource<byte[]>
InputStream.| Constructor and Description |
|---|
ByteStreamReadingMessageSource(java.io.InputStream stream) |
ByteStreamReadingMessageSource(java.io.InputStream stream,
int bufferSize) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getComponentType() |
org.springframework.messaging.Message<byte[]> |
receive() |
void |
setBytesPerMessage(int bytesPerMessage) |
void |
setShouldTruncate(boolean shouldTruncate) |
afterPropertiesSet, extractTypeIfPossible, getApplicationContext, getApplicationContextId, getBeanFactory, getChannelResolver, getComponentName, getConversionService, getExpression, getIntegrationProperties, getIntegrationProperty, getMessageBuilderFactory, getTaskScheduler, onInit, setApplicationContext, setBeanFactory, setBeanName, setChannelResolver, setComponentName, setConversionService, setMessageBuilderFactory, setPrimaryExpression, setTaskScheduler, toStringpublic ByteStreamReadingMessageSource(java.io.InputStream stream)
public ByteStreamReadingMessageSource(java.io.InputStream stream,
int bufferSize)
public void setBytesPerMessage(int bytesPerMessage)
public void setShouldTruncate(boolean shouldTruncate)
public java.lang.String getComponentType()
getComponentType in interface org.springframework.integration.support.context.NamedComponentgetComponentType in class org.springframework.integration.context.IntegrationObjectSupportpublic org.springframework.messaging.Message<byte[]> receive()
receive in interface org.springframework.integration.core.MessageSource<byte[]>