Commit Graph

12 Commits

Author SHA1 Message Date
Artem Bilan
b19246e831 Fix TcpClientServerDemoTest race condition
https://build.spring.io/browse/INTSAMPLES-NIGHTLY-2342

The `TcpClientServerDemoTest.testMultiPlex()` relies on the
`HashSet.size()` for assertion meanwhile that property is not `volatile`.

Since we change the state of the `HashSet` from other threads
the non-`volatile` property is not reliable source of information.

* Change the test-case to use `LinkedBlockingQueue` instead of `HashSet`
which uses `AtomicInteger` to track its `size`
2018-01-23 16:24:14 -05:00
Artem Bilan
bbcb4bcfae Upgrade to SIK-3.0
* Fix Kafka Java DSL sample from bean name conflict
* Fix usage of deprecated `org.springframework.integration.test.util.SocketUtils`
2017-11-30 20:37:49 -05:00
Gary Russell
e37904128e INTSAMPLES-150: Switch to Log4j2
JIRA: https://jira.spring.io/browse/INTSAMPLES-150
2017-09-01 16:14:34 -04:00
Artem Bilan
2ccc8f426c Fix compatibility with the latest Spring Boot
https://build.spring.io/browse/INTSAMPLES-NIGHTLY-2099/
2017-05-17 11:50:17 -04:00
Artem Bilan
be0e24aea5 Fix JmsMockTests for bad Mockito usage
https://build.spring.io/browse/INTSAMPLES-NIGHTLY-2074

Upgrade to SK-2.0 M1 and SIK-3.0 M1

Fix JPA sample adding `SEQUENCE HIBERNATE_SEQUENCE` DDL
into the `schema.sql`

https://build.spring.io/browse/INTSAMPLES-NIGHTLY-2078/

The latest Hibernate version doesn't create such a DB entity if
we use `hibernate.ddl-auto: none`

Increase timeouts in the JMS and TCP tests
2017-04-27 16:19:02 -04:00
Gary Russell
d10509ca37 TCP: Clarify Async Exception Handling 2015-11-04 11:28:44 -05:00
Gary Russell
15f78146e0 TCP Async - Add Timeout Test
http://stackoverflow.com/questions/32614395/spring-integration-tcp-outbound-channel-adapter-that-detects-connection-loss-and/32617568#comment54590607_32617568

Polishing - PR Comments
2015-10-28 17:57:01 -04:00
Gunnar Hillert
ecadea4120 INTSAMPLES-79 - Update TCP Samples to Use S-I-IP TestingUtilities
* Also: Don't use hard-coded port in *tcp-client-server-multiplex* sample

For reference: https://jira.springsource.org/browse/INTSAMPLES-79
2012-12-07 00:07:20 -05:00
Gunnar Hillert
3c9c91c847 INTSAMPLES-89 - Upgrade to Spring Integration 2.2 RC3
* Test samples
* Polish documentation
* Polish code

For reference see: https://jira.springsource.org/browse/INTSAMPLES-89
2012-11-28 17:08:51 -05:00
Gunnar Hillert
fc2e5890a9 INTSAMPLES-52 - All Samples should use Log4J
INTSAMPLES-52 - Standardize Log4j PatternLayout
Standardize Log4j PatternLayout to **%d{HH:mm:ss.SSS} %-5p [%t][%c] %m%n**.
2012-05-28 09:26:41 -04:00
Gary Russell
80653acd07 INTSAMPLES-76 Wait for Server (Intermediate)
Also need to wait in the intermediate TCP sample.
2012-05-26 10:11:01 -04:00
Gary Russell
ea9a89d820 INTSAMPLES-14 Tcp Collaborating Adapters Sample
Add a sample showing how to use collaborating channel adapters
for high performance.
2012-01-07 10:52:03 -05:00