https://build.spring.io/browse/INTSAMPLES-NIGHTLY-2059/
Fix `JmsMockTests` stubbing via making endpoint stopped before mocking
Force SI and SF versions via their BOMs imports
Regenerate POMs including `dependencyManagement` for BOMs customization
Remove `@IntegrationComponentScan` from Boot samples
Since the latest Spring Boot utilize already `@IntegrationComponentScan` for the `@SpringBootApplication` class package, there is no reason to worry about lost `@MessagingGateway`
Reflect Kafka samples changes according latest Spring Boot fixes
* Fix compatibility after Java DSL migration to the SI Core
* Also upgrade all the JMS sample to the JMS 2.0
* Fix default `connectionFactory` bean reference to the current `jmsConnectionFactory`
* Remove unsupported JPA-1.0 Spec via `OpenJpaAutoConfiguration`, since the minimum now is JPA-2.0
* Remove non-lambda sample since minimum now is Java 8
* Rename `PromiseTest` to `MonoTest` and fix it to Reactor 3.0
* Fix `stomp-server.xml` to use proper Reactor 3.0 `eactor.util.function.Tuples` for SpEL
* Regenerate POMs
https://build.spring.io/browse/INTSAMPLES-NIGHTLY-1898/
There is no guarantee that if `File.exists()`, the real write to file has occurred
* Add `while()` to check not only `File.exists()` but also its `length()` only after that proceed to assert logic
Since we provide a custom `FileNameGenerator` via `fileNameExpression` we should ensure somehow `BeanFactory` injection to that
`FileWritingMessageHandlerSpec` is a `FactoryBean` since version DSL `1.2` and a particular `BPP` takes care about `Spec` internals and register custom `FileNameGenerator` as a bean.
Use standard `FactoryBean` injection in the `lines()` flow to populate the target `FileWritingMessageHandler` to the flow
Generate pom for all project to apply SI Java DSL 1.2 GA
Fixes GH-180 (https://github.com/spring-projects/spring-integration-samples/issues/180)
* Apply `PollerSpec.errorChannel(String)` style
* Replace `fileNameExpression()` to `fileNameGenerator()` to avoid `No BeanFactory` for `EvaluationContext`
* Use `.trigger()` instead of `.handle()` for `FileWritingMessageHandler.trigger()`
* Fix race condition in test, when file exists already, but there is no content yet
JIRA: https://jira.spring.io/browse/INTSAMPLES-149
Polishing - PR Comments
Polishing - Work Around DSL Issue #119
Make test compatible with Windows.
Also reset Application context `DirtiesContext.ClassMode.AFTER_EACH_TEST_METHOD`.
Since tests uses the same target resources we should be sure that they use clear foundation before running
Make `PromiseTest` more fast decreasing `sleep()` in the `MathService`
Kafka-0.10.0 Compatibility
Upgrade to Spring Boot 1.4.0.RELEASE
Regenerate poms according to upgrades
When just importing the ftp example as a maven project, I ran into the issue of a slf4j version discrepancy described here:
http://www.slf4j.org/faq.html#IllegalAccessError
This is solved by adding the specific version dependency of `slf4j-api`.
* Add the specific `slf4j-api` dependency to the Gradle script
* Change the dependency scope for `slf4j-` impl to the `runtime`.
* Regenerate POMs
JIRA: https://jira.spring.io/browse/INTSAMPLES-138
* Upgrade to Boot 1.2, which is based on the SI 4.1
* Upgrade to SF 4.1.1
* Fix `feed` sample to use new `Rome` dep. from SI
* Fix deprecations for `@Payload`, `@Header` etc.
* Fix mongo` sample deprecation warn
JIRA: https://jira.spring.io/browse/INTSAMPLES-137
* Upgrade to Boot 1.1.7
* Fix several Boot apps to get deal with `args`, e.g. `--debug` option can be useful for Boot
* Provide a loca copy for JavaScript files (`sock.js` and `stomp.js`) to avoid extra Internet connection on testing
INTS-137-2: Make JavaScript cross-browser
Some additional polishing to the server config, like `logging-channel-adapter` for server message flow
- PR Comments
- Switch to Jackson2
- Fix oxm config
Polishing
INTSAMPLES-127 Update to SI 4.0.0.RC1
INTSAMPLES-127 Remove Servlet Dependency
travel sample; see INT-3350.
INTSAMPLES-127 Update Samples to SI 4.0.0
JIRA: https://jira.spring.io/browse/INTSAMPLES-127
Created `maint` branch for ongoing SI 3.0.x samples.
* Add idea folder to .gitignore
* Add an embedded ActiveMQ
* Add activemq data to ignore list
* Use JMS-backed channels
* Add the sample description to README.md