List of usage examples for org.springframework.integration.endpoint MessageProducerSupport subclass-usage
From source file com.apress.prospringintegration.customadapters.inbound.eventdriven.MessageProducerSupportEventDrivenInboundChannelAdapter.java
public class MessageProducerSupportEventDrivenInboundChannelAdapter extends MessageProducerSupport { @Override protected void doStart() { Message<?> msg = MessageBuilder.withPayload("hello, world!").build(); this.sendMessage(msg);
From source file org.springframework.cloud.stream.binder.pubsub.PubSubMessageListener.java
/** * @author Vinicius Carvalho */ public class PubSubMessageListener extends MessageProducerSupport { private ObjectMapper mapper;
From source file org.springframework.integration.syslog.inbound.SyslogReceivingChannelAdapterSupport.java
/**
* Base support class for inbound channel adapters. The default port is 514.
*
* @author Gary Russell
* @since 3.0
*
From source file org.springframework.cloud.consul.binder.ConsulInboundMessageProducer.java
/** * Adapter that receives Messages from Consul Events, converts them into Spring * Integration Messages, and sends the results to a Message Channel. * @author Spencer Gibb */ public class ConsulInboundMessageProducer extends MessageProducerSupport {
From source file hello.ModuleTemplate.java
/** * @author Patrick Peralta */ public class ModuleTemplate extends MessageProducerSupport { // todo: rename this class to match your module name private final AtomicBoolean running = new AtomicBoolean(false);
From source file com.apress.prospringintegration.customadapters.inbound.eventdriven.DirectoryMonitorInboundFileEndpoint.java
public class DirectoryMonitorInboundFileEndpoint extends MessageProducerSupport { private File directoryToMonitor; private DirectoryMonitor monitor; private Executor executor; private int queueSize = 10;
From source file org.springframework.cloud.stream.module.loggregator.source.LoggregatorMessageSource.java
/**
* Spring Integration inbound adapter that publishes messages whenever a new
* Loggregator {@link ApplicationLog} log message is received. The message is
* converted to a {@link String}.
*
* @author <a href="josh@joshlong.com">Josh Long</a>
From source file biz.c24.io.spring.integration.samples.fpml.FpmlGenerator.java
public class FpmlGenerator extends MessageProducerSupport { private static final int ITERATIONS = 1; Resource base;
From source file org.springframework.xd.perftest.redis.inbound.RedisQInboundChannelAdapter.java
/** * @author Mark Fisher * @author Ilayaperumal Gopinathan */ public class RedisQInboundChannelAdapter extends MessageProducerSupport {
From source file org.springframework.cloud.gcp.pubsub.integration.inbound.PubSubInboundChannelAdapter.java
/**
* Converts from GCP Pub/Sub message to Spring message and sends the Spring message to the
* attached channels.
*
* @author Joo Andr Martins
* @author Mike Eltsufin