- 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.
Advanced Testing Examples
Example test cases that show advanced techniques to test Spring Integration based applications.
For basic testing examples see: basic/testing-examples
Examples
jms.JmsMockTests.java
This test case shows how to test an integration flow that uses JMS inbound channel adapter by using Mockito to mock a JmsTemplate (and dependent JMS objects). The example flow in src/main/resources/integration-config.xml does not depend on JMS but includes some additional error handling on errorChannel. The errorChannel is configured on the JMS adapter. So we want test the entire flow for cases in which an invalid message is received via JMS and routed to errorChannel. How do we do this without requiring a JMS message broker?