Files
spring-integration-samples/basic/quote
Spring Operator 4f48dce420 URL Cleanup
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# Fixed URLs

## Fixed Success
These URLs were fixed successfully.

* http://www.apache.org/licenses/LICENSE-2.0.txt migrated to:
  https://www.apache.org/licenses/LICENSE-2.0.txt ([https](https://www.apache.org/licenses/LICENSE-2.0.txt) result 200).
* http://projects.spring.io/spring-integration migrated to:
  https://projects.spring.io/spring-integration ([https](https://projects.spring.io/spring-integration) result 301).
* http://repo.spring.io/libs-milestone migrated to:
  https://repo.spring.io/libs-milestone ([https](https://repo.spring.io/libs-milestone) result 302).
* http://repo.spring.io/libs-snapshot migrated to:
  https://repo.spring.io/libs-snapshot ([https](https://repo.spring.io/libs-snapshot) result 302).
* http://repo.spring.io/libs-staging-local migrated to:
  https://repo.spring.io/libs-staging-local ([https](https://repo.spring.io/libs-staging-local) result 302).

# Ignored
These URLs were intentionally ignored.

* http://maven.apache.org/POM/4.0.0
* http://maven.apache.org/xsd/maven-4.0.0.xsd
* http://www.w3.org/2001/XMLSchema-instance
2019-03-06 10:03:19 -05:00
..
2017-09-01 16:14:34 -04:00
2019-03-06 10:03:19 -05:00

Quote Sample

This example demonstrates the following aspects of the CORE EIP support available with Spring Integration:

  1. Channel Adapter (Inbound and Stdout)
  2. Poller with Interval Triggers
  3. Service Activator

It is a very simple example that introduces you to Channel adapters and Pollers.

Messages are simply being emitted by the Poller (interval based) triggering the nextTicker() method of the TickerStream class and are then sent to a tickers channel, from which they are retrieved by the TickerStream service.

The TickerStream service generates random ticker symbols, sending them to the quotes channel, from which they are retrieved by the QuoteService (annotation based Service Activator). The QuoteService generates random quotes, sending them to the Stdout Channel Adapter, where they are printed to the console.

To execute sample simply run QuoteDemoTest. You should see the output similar to this:

XNY: 90.03
XMR: 17.11
IWR: 35.85
KHR: 54.43
WUW: 95.29
YYC: 7.44
DYW: 84.76
TIW: 28.31
HGE: 28.90