org.springframework.integration.stream
Class CharacterStreamReadingMessageSource
java.lang.Object
org.springframework.integration.context.IntegrationObjectSupport
org.springframework.integration.stream.CharacterStreamReadingMessageSource
- All Implemented Interfaces:
- org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.InitializingBean, org.springframework.integration.context.NamedComponent, org.springframework.integration.core.MessageSource<java.lang.String>
public class CharacterStreamReadingMessageSource
- extends org.springframework.integration.context.IntegrationObjectSupport
- implements org.springframework.integration.core.MessageSource<java.lang.String>
A pollable source for Readers.
| Fields inherited from class org.springframework.integration.context.IntegrationObjectSupport |
logger |
| 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 |
CharacterStreamReadingMessageSource
public CharacterStreamReadingMessageSource(java.io.Reader reader)
CharacterStreamReadingMessageSource
public CharacterStreamReadingMessageSource(java.io.Reader reader,
int bufferSize)
getComponentType
public java.lang.String getComponentType()
- Specified by:
getComponentType in interface org.springframework.integration.context.NamedComponent- Overrides:
getComponentType in class org.springframework.integration.context.IntegrationObjectSupport
receive
public org.springframework.integration.Message<java.lang.String> receive()
- Specified by:
receive in interface org.springframework.integration.core.MessageSource<java.lang.String>
stdin
public static final CharacterStreamReadingMessageSource stdin()
stdin
public static final CharacterStreamReadingMessageSource stdin(java.lang.String charsetName)