public class MessageSourceBindingTargetFactory extends AbstractBindingTargetFactory<PollableMessageSource>
BindingTargetFactory
for creating
DefaultPollableMessageSource
s.Constructor and Description |
---|
MessageSourceBindingTargetFactory(org.springframework.messaging.converter.SmartMessageConverter messageConverter,
MessageChannelConfigurer messageSourceConfigurer) |
Modifier and Type | Method and Description |
---|---|
PollableMessageSource |
createInput(String name)
Create an input binding target that will be bound via a corresponding
Binder . |
PollableMessageSource |
createOutput(String name)
Create an output binding target that will be bound via a corresponding
Binder . |
canCreate
public MessageSourceBindingTargetFactory(org.springframework.messaging.converter.SmartMessageConverter messageConverter, MessageChannelConfigurer messageSourceConfigurer)
public PollableMessageSource createInput(String name)
BindingTargetFactory
Binder
.createInput
in interface BindingTargetFactory
createInput
in class AbstractBindingTargetFactory<PollableMessageSource>
name
- name of the binding targetpublic PollableMessageSource createOutput(String name)
BindingTargetFactory
Binder
.createOutput
in interface BindingTargetFactory
createOutput
in class AbstractBindingTargetFactory<PollableMessageSource>
name
- name of the binding targetCopyright © 2019 Pivotal Software, Inc.. All rights reserved.