Commit Graph

501 Commits

Author SHA1 Message Date
Gary Russell
c868afb039 JDBC Sample Polishing
- no need for DUMMY table
- max-rows-per-poll is deprecated
- set reply-timeout to 0 (for no person result)
2018-11-24 11:39:03 -05:00
Gary Russell
ca8704265c JDBC: requires-reply="false"
Default was changed to true some time ago, but the sample wasn't updated.
2018-11-24 10:39:13 -05:00
Gary Russell
7f3c7dd3e4 TCP Broadcast; fix main class name 2018-11-20 12:56:08 -05:00
Gary Russell
933dc91bd2 tcp-broadcast: Polishing
Wait for server to start listening before attempting to connect.
2018-11-19 18:42:41 -05:00
Gary Russell
e7180b8725 GH-234: Add TCP Broadcast Sample
Resolves https://github.com/spring-projects/spring-integration-samples/issues/234

* Update top level README
2018-11-19 16:11:33 -05:00
Gary Russell
2a88598aea Upgrade Jackson version 2018-11-19 12:40:10 -05:00
Gary Russell
6d0ed1d803 Upgrade to Boot 2.1.0.RELEASE 2018-11-19 12:26:58 -05:00
Artem Bilan
b62f41d9d1 Upgrade to SK-2.2 GA SIK-3.1 GA, SI-5.1 GA
And also SF-5.1.2, Security-5.1.1 and SI-Social-Twitter 1.0 GA
2018-10-29 12:52:50 -04:00
Gary Russell
07ee0b6878 Generate POMs for RC2 2018-10-15 16:31:02 -04:00
Gary Russell
3c335c2f3d Upgrade to SI 5.1.0.RC2 2018-10-15 15:17:30 -04:00
Artem Bilan
113eebb85a Upgrade to SK-2.2 RC1 and SIK-3.1 RC1 2018-09-21 13:57:16 -04:00
Gary Russell
2f8cf40259 Upgrade to SI 5.1.0.RC1 2018-09-21 13:28:08 -04:00
Gary Russell
4676a07aab Upgrade to SI 5.1.0.M2, SF 5.1.0.RC2 2018-08-20 19:58:36 -04:00
Gary Russell
2f2f1f6f8b Fix MQTT Deprecations 2018-08-06 11:39:23 -04:00
Artem Bilan
c9ef6fe19f Fix file-split-ftp according latest Boot
Spring Boot now doesn't allow by default to override beans in the
application context

* Add `spring.main.allow-bean-definition-overriding=true` to the
test class definition to reflect the purpose of the downstream
configurations
2018-07-30 15:41:25 -04:00
Artem Bilan
c0f406dc5e Start version 5.1 with appropriate fixes 2018-07-30 15:27:07 -04:00
Artem Bilan
d4f96b9ca5 Upgrade to latest Spring dependencies 2018-07-30 13:32:02 -04:00
Gary Russell
41664f0501 Upgrade Spring Dependencies 2018-07-12 14:11:38 -04:00
The Alchemist
4dd28d0009 No InterruptedException in TestSplitterAggregator
* InterruptedException is not thrown by the `TestSplitterAggregator.testSearch()`

* Remove bad javadoc
2018-06-06 15:50:04 -04:00
Artem Bilan
72999587b1 Upgrade to SI.5.0.5, Boot 2.0.2 2018-05-09 14:57:34 -04:00
Gary Russell
51c705a94b Fix race in JMS test case 2018-04-12 09:43:00 -04:00
Artem Bilan
89b4a08016 * Upgrade to SI.5.0.4, SF 5.0.5, Boot 2.0.1-B-S 2018-04-04 15:29:10 -04:00
Artem Bilan
9d02471346 Fix TCP tests to use OS-selected port (#224)
* Fix TCP tests to use OS-selected port

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

Modify all the `tcpclientserver` tests to rely on the OS-selected port,
in other words set `0` to the server port and get the real port for the
client when server is listening

* * Upgrade to Gradle-4.6
* Fix Travis config do not perform assemble task
2018-04-02 15:17:59 -04:00
Artem Bilan
7e7642823b Check File.exists() before removal
https://build.spring.io/browse/INTSAMPLES-NIGHTLY-2401/
2018-03-20 13:59:56 -04:00
Artem Bilan
68490acf6f Fix race condition with in file-split-ftp
https://build.spring.io/browse/INTSAMPLES-NIGHTLY-2398/

* Remove `FileExistsMode.APPEND_NO_FLUSH` from the app.
It's not reliable for unit testing: keeps resources opened and cause
false positive assertions but at the same time no any interactions with
mock `session`
* Clean up test directories before and after tests
2018-03-19 12:51:23 -04:00
Artem Bilan
59d01cb6b3 Do not auto-start Inbound Channel Adapter
https://build.spring.io/browse/INTSAMPLES-NIGHTLY-JOB1-2397

To avoid race conditions with the test data and auto-started channel
adapter, it would be better to have channel adapter not started in the
beginning and prepare test data and only after that start it manually.

The race condition is when we have old data in the directory to poll
2018-03-16 10:56:13 -04:00
Gary Russell
ac02700300 Kafka Samples - Provision Topics 2018-03-01 09:16:50 -05:00
Gary Russell
e1929d1d3d Updgrade to Boot 2.0.0.RELEASE 2018-03-01 09:06:46 -05:00
Artem Bilan
5764038768 Upgrade to SI-5.0.3, SIK-3.0.3 and some other 2018-02-28 15:29:18 -05:00
Artem Bilan
c28a0b650b Upgrade to SI-5.0.2 2018-02-20 16:50:00 -05:00
Artem Bilan
a1fc9d5999 Upgrade to SIK-3.0.1 2018-01-29 14:39:12 -05:00
Artem Bilan
6b75cbedcc Upgrade to SK-2.0.3 2018-01-29 14:25:29 -05:00
Artem Bilan
feb2ba465d Upgrade to SI-5.0.1 2018-01-29 12:05:11 -05:00
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
Gary Russell
2cef858480 Fix Link in README 2017-12-29 15:36:56 -05:00
The Alchemist
26ece34c3d Fix URL to Spring Flo 2017-12-14 09:04:35 -08: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
Artem Bilan
38202d8b1f Upgrade to SI-5.0-GA, SS-5.0-GA, SF-5.0.2, SK-2.0
Remove exclude for the `TwitterAutoConfiguration` since it doesn't
exist in Spring Boot any more
2017-11-28 15:48:06 -05:00
Artem Bilan
77477a953d Fix compatibility with the latest Spring Boot
https://build.spring.io/browse/INTSAMPLES-NIGHTLY-2287
2017-11-27 10:39:48 -05:00
Artem Bilan
f09f4563d9 Use cacheConsumers=false for CachingJmsCF
https://build.spring.io/browse/INTSAMPLES-NIGHTLY-2256

The `AggregatorDemoTest` fails sporadically with no second part from
reply.
That might be as a result of the cached consumers in the
`CachingConnectionFactory`, so several `<int-jms:inbound-gateway>`
for the topic using the same connectionFactory essentially end up
using the same consumer sequentially.
And Broker considers them as a single consumer, therefore only one
message is sent.
2017-10-23 10:35:54 -04:00
Artem Bilan
f97ea5b988 Use mainClassName instead of main for bootRun task 2017-10-20 14:41:00 -04:00
Artem Bilan
107ef1f305 Remove EclipseLink from JPA sample
https://build.spring.io/browse/INTSAMPLES-NIGHTLY-2239/

Having Hibernate and EclipseLink in the same application isn't a goal.
On the other hand the sample must be concentrate on the Spring Integration,
not a complexity brought by the Spring Boot auto-configuration override.

* Remove the EclipseLink support from the JPA samples and rely only on
the Hibernate auto-configuration
* Remove an appropriate message from the README
2017-10-04 13:09:33 -04:00
Artem Bilan
6ce495e427 Upgrade to Mockito-2.10.0 and appropriate fixes 2017-09-21 15:46:21 -04:00
Gary Russell
e8fc589c5d Upgrade Several Versions 2017-09-14 10:51:38 -04:00
Gary Russell
c686666077 Upgrade to gradle 4.1 2017-09-07 17:31:45 -04:00
Artem Bilan
6bf5391715 Upgrade to ActiveMQ-5.15.0 and increase test time
https://build.spring.io/browse/INTSAMPLES-NIGHTLY-2211

It isn't clear why second message copy is lost, so increase timeout
in case of some fluctuations in the ActiveMQ.
Also increase logging level to DEBUG to see some info in the next failure
2017-09-06 20:19:08 -04: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
68377fedd1 Exclude jackson-module-kotlin to avoid CP issue
The `Jackson2JsonObjectMapper` tries to load any available modules for
the Jackson `ObjectMapper` via `findAndRegisterModules()`.

But if we have a module but don't have a target library, we end up with
the `ClassNotFoundException`.
In our case we fail with the Kotlin because Spring Boot provides
`com.fasterxml.jackson.module:jackson-module-kotlin` dependency and
leaves the rest of required libs for the target application.

* Exclude `com.fasterxml.jackson.module:jackson-module-kotlin`
from all the dependencies.
* Spring Integration `Jackson2JsonObjectMapper` should be revised to use
`Jackson2ObjectMapperBuilder` - https://jira.spring.io/browse/INT-4318
2017-07-27 12:11:10 -04:00
Artem Bilan
fe60be8a18 Upgrade dependencies to latest Milestones
Upgrade to Gradle 4.0.1
2017-07-25 14:06:06 -04:00
Artem Bilan
403650f6cd Fix compatibility with the latest SI 2017-07-21 10:38:27 -04:00