INTSAMPLES-52 - Standardize Log4j PatternLayout
Standardize Log4j PatternLayout to **%d{HH:mm:ss.SSS} %-5p [%t][%c] %m%n**.
JMS Sample
This example demonstrates the following aspects of the JMS support available with Spring Integration:
- JMS Message-driven Channel Adapter
- JMS Inbound Gateway
- JMS Outbound Gateway
It also uses the following components:
- Poller
- Stdout Channel Adapter (from Stream support Module)
- Stdin Channel Adapter (from Stream support Module)
The Stdout and Stdin Channel Adapters will allow you to interact with JMS via the console. It uses an embedded ActiveMQ broker.
To run the samples, simply execute the GatewayDemo and ChannelAdapterDemo classes located in the org.springframework.integration.samples.jms package.
When running demos you will see the following prompt:
> Please type something and hit return
- GatewayDemo uses DemoBean service, which will echo the response, upper-casing it.
- ChannelAdapterDemo will simply echo the response