Commit Graph

17 Commits

Author SHA1 Message Date
Gary Russell
51c705a94b Fix race in JMS test case 2018-04-12 09:43:00 -04: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
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
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
Artem Bilan
5f524dc534 Upgrade to SI-5.0 & SIK-3.0, Reactor 3.0
* 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
2016-11-18 14:11:32 -05:00
Gary Russell
49e0a25e8e Add JMS Aggregator Sample
Remove useless `correlation-id` header mapping
2015-05-07 14:01:07 +03:00
Artem Bilan
ea3ba21249 INTSAMPLES-122: Migrate to Gradle
JIRA: https://jira.springsource.org/browse/INTSAMPLES-122

INTSAMPLES-122: Polishing

INTSAMPLES-122: Add generated poms

* Upgrade some dependencies

INTSAMPLES-122: Cover Java/DSL sample

INTSAMPLES-122: Upgrade to SI 4.0.1 & SF 4.0.5

INTSAMPLES-122: Polishing according PR comments

Make gradlew executable
2014-05-28 12:58:25 -04:00
Gary Russell
cc579226d6 INTSAMPLES-127 Polishing
- 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.
2014-04-16 20:45:34 +03:00
Gary Russell
99fe63dc35 INTSAMPLES-106 JMS: Eliminate Hijack of stdout
Caused unusual behavior when exceptions occurred, or debug
logging enabled.

Now uses Spring profiles to route the output to a QueueChannel
instead.
2013-03-28 09:46:30 -04:00
Gunnar Hillert
4c40d0d2e3 INTSAMPLES-49 - Move main demo class to src/main/java + add tests
For reference see: https://jira.springsource.org/browse/INTSAMPLES-49
2012-12-06 17:00:43 -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
Gunnar Hillert
3577dbe1cb INTSAMPLES-48 Decided to continue to use Log4J 2012-01-17 14:34:42 -05:00
Gunnar Hillert
86232ef258 INTSAMPLES-48 Add SLF4J dependency
Also add Spring Integration JMS dependency

For reference see: https://jira.springsource.org/browse/INTSAMPLES-48
2012-01-17 14:34:42 -05:00
Mark Fisher
f8033b4533 changed activemq logging to 'error' level 2011-03-04 16:03:01 -05:00
Oleg Zhurakousky
59081a2df8 INT-1477 restructuring samples repo to have basic, intermediate, advancedand applications directories 2010-09-28 16:58:48 -04:00