Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
JmsListenerTest and JmsListenerTestHarness similar to spring-amqp 1.6 and spring-kafka [SPR-14073] #18645
The Spring-Integration team recently annonced spring-amqp 1.6.0 Milestone and a spring-kafka milestone
Both contain a new testing feature
In essence it is possible to intercept
We see value in these kind of test setup and it would be nice when spring-jms would support it too.
Our use case is something like that: We don't have an application where the Web-GUI is the most important part but we rather process invoices (Apache Camel, a bit Spring-Integration). We have automated "Acceptance Tests". We are slowly moving to a more distributed setup where we have new/someExisting parts (re)written in Spring Boot and they integrate via a JMS-Broker.
It becomes now harder to write the automated "acceptance Tests" and any additional support by the framework where we can inject CountDownLatches or lambda functions would be appreciated.
For instance 1 invoice comes in and gets split up into 5 of which one fails and shound end up in queue X but the other 4 should procced to the next queue and picked up by the next Spring Boot app.
1 votes, 3 watchers