Interface MessageProducer
- All Known Implementing Classes:
AbstractAmqpOutboundEndpoint,AbstractCorrelatingMessageHandler,AbstractHazelcastMessageProducer,AbstractHttpRequestExecutingMessageHandler,AbstractInternetProtocolReceivingChannelAdapter,AbstractMessageProducingHandler,AbstractMessageSplitter,AbstractMqttMessageDrivenChannelAdapter,AbstractRemoteFileOutboundGateway,AbstractReplyProducingMessageHandler,AbstractReplyProducingPostProcessingMessageHandler,AbstractWebServiceOutboundGateway,AbstractXmppConnectionAwareEndpoint,AggregatingMessageHandler,AmqpInboundChannelAdapter,AmqpOutboundEndpoint,ApacheCommonsFileTailingMessageProducer,ApplicationEventListeningMessageProducer,AsyncAmqpOutboundGateway,BarrierMessageHandler,BridgeHandler,CamelMessageHandler,CassandraMessageHandler,ChatMessageListeningEndpoint,ContentEnricher,DebeziumMessageProducer,DefaultMessageSplitter,DelayHandler,ExpressionEvaluatingSplitter,ExpressionMessageProducerSupport,FileSplitter,FileTailingMessageProducerSupport,FileWritingMessageHandler,FluxAggregatorMessageHandler,FtpOutboundGateway,GatewayMessageHandler,GraphQlMessageHandler,HazelcastClusterMonitorMessageProducer,HazelcastContinuousQueryMessageProducer,HazelcastEventDrivenMessageProducer,HttpRequestExecutingMessageHandler,ImapIdleChannelAdapter,JdbcOutboundGateway,JmsMessageDrivenEndpoint,JmsOutboundGateway,JpaOutboundGateway,KafkaMessageDrivenChannelAdapter,KafkaProducerMessageHandler,MarshallingWebServiceOutboundGateway,MessageFilter,MessageHandlerChain,MessageProducerSupport,MessageTransformingHandler,MethodInvokingSplitter,MockMessageHandler,MongoDbChangeStreamMessageProducer,MongoDbOutboundGateway,MqttPahoMessageDrivenChannelAdapter,Mqttv5PahoMessageDrivenChannelAdapter,MulticastReceivingChannelAdapter,NotificationListeningMessageProducer,OperationInvokingMessageHandler,OSDelegatingFileTailingMessageProducer,PresenceListeningEndpoint,ReactiveMessageSourceProducer,ReactiveRedisStreamMessageProducer,RedisInboundChannelAdapter,RedisOutboundGateway,RedisQueueMessageDrivenEndpoint,RedisQueueOutboundGateway,ReplyProducingMessageHandlerWrapper,ResequencingMessageHandler,RSocketOutboundGateway,ScatterGatherHandler,ServiceActivatingHandler,SftpOutboundGateway,SimpleWebServiceOutboundGateway,SmbOutboundGateway,StompInboundChannelAdapter,StoredProcOutboundGateway,SyslogReceivingChannelAdapterSupport,TcpOutboundGateway,TcpReceivingChannelAdapter,TcpSyslogReceivingChannelAdapter,UdpSyslogReceivingChannelAdapter,UnicastReceivingChannelAdapter,UnZipResultSplitter,WebFluxRequestExecutingMessageHandler,WebSocketInboundChannelAdapter,XPathMessageSplitter,ZeroMqMessageProducer
public interface MessageProducer
Base interface for any component that is capable of sending
messages to a
MessageChannel.- Since:
- 2.0
- Author:
- Mark Fisher, Artem Bilan
-
Method Summary
Modifier and TypeMethodDescriptionReturn the the output channel.voidsetOutputChannel(MessageChannel outputChannel) Specify theMessageChannelto which produced Messages should be sent.default voidsetOutputChannelName(String outputChannel) Specify the bean name of theMessageChannelto which produced Messages should be sent.
-
Method Details
-
setOutputChannel
Specify theMessageChannelto which produced Messages should be sent.- Parameters:
outputChannel- The output channel.
-
setOutputChannelName
Specify the bean name of theMessageChannelto which produced Messages should be sent.- Parameters:
outputChannel- The output channel bean name.- Since:
- 5.1.2
-
getOutputChannel
Return the the output channel.- Returns:
- the channel.
- Since:
- 4.3
-