List of usage examples for org.springframework.integration.core MessageSource interface-usage
From source file org.springframework.integration.xmpp.presence.XmppRosterEventProducer.java
/**
* This is used in
* {@link org.springframework.integration.xmpp.presence.OutboundXmppRosterEventsEndpointTests}
* to produce fake status / presence updates.
*
* @author Josh Long
From source file org.encuestame.core.rss.EnMeRssReader.java
/**
* Rss Reader.
* @author Picado, Juan juanATencuestame.org
* @since Jul 2, 2010 10:03:26 AM
* @version $Id:$
*/
From source file sipackage.inbound.SIAdapterUpperPrefixPollingChannelAdapter.java
/** * @author SI-TEMPLATE-AUTHOR * @since SI-TEMPLATE-VERSION * */ public class SIAdapterUpperPrefixPollingChannelAdapter extends IntegrationObjectSupport
From source file org.springframework.integration.xmpp.ignore.XmppMessageProducer.java
/**
* Generates XMPP messages every 2s and forwards them on a channel which in turn publishes the message through XMPP.
*
* @author Josh Long
* @since 2.0
*/
From source file org.springframework.integration.xmpp.messages.XmppMessageProducer.java
/**
* Generates XMPP messages every 2s and forwards them on a channel which in turn publishes the message through XMPP.
*
* @author Josh Long
* @since 2.0
*/
From source file com.bdx.rainbow.kafka.consumer.BdxKafkaHighLevelConsumerMessageSource.java
/** * @author Soby Chacko * @since 0.5 * */ public class BdxKafkaHighLevelConsumerMessageSource<K, V> extends IntegrationObjectSupport
From source file eu.openanalytics.rsb.si.HeaderSettingMessageSourceWrapper.java
/** * A message source that wraps an existing one and adds an arbitrary header to the in-flight message. * * @author "OpenAnalytics <rsb.development@openanalytics.eu>" */ public class HeaderSettingMessageSourceWrapper<T> implements MessageSource<T> {
From source file org.springframework.integration.mail.MailReceivingMessageSource.java
/**
* {@link MessageSource} implementation that delegates to a
* {@link MailReceiver} to poll a mailbox. Each poll of the mailbox may
* return more than one message which will then be stored in a queue.
*
* @author Jonas Partner
From source file org.opencredo.couchdb.inbound.CouchDbChangesPollingMessageSource.java
/**
* A MessageSource that receives messages by polling a CouchDB database. The polling is performed through
* a CouchDbChangesOperations, typically using the changes API.
* </p>
* Each poll returns and stores internally the list of changed documents since the last poll, which means that instances
* of this class are stateful.
From source file com.apress.prospringintegration.customadapters.inbound.pollerdriven.StockPollingMessageSource.java
public class StockPollingMessageSource implements MessageSource<Stock>, InitializingBean { private String tickerSymbol; private String jsonFragmentTemplate = "u:\"/finance?q=NYSE:%s\",name:\"%s\""; private String stockServiceUrl = "http://www.google.com/finance?q=NYSE:%s"; private RestTemplate restTemplate = new RestTemplate(); private Pattern symbolSize = Pattern.compile(",p:\"(\\d+)\\.(\\d+)\"");