I want to write unit test for a method which is annotated by @JmsListener
. But I don't know how to do it. Anybody please help me.
Asked
Active
Viewed 1.1k times
5

peterh
- 11,875
- 18
- 85
- 108

Karthikeyan
- 123
- 2
- 2
- 7
-
2Possible duplicate of [Writing tests to verify received msg in jms listener (Spring-Boot)](https://stackoverflow.com/questions/42803627/writing-tests-to-verify-received-msg-in-jms-listener-spring-boot) – Petter Nordlander Jul 31 '17 at 10:46
-
2Please provide a Minimal, Complete and Verifiable Example of your problem: https://stackoverflow.com/help/mcve – Jack Parkinson Jul 31 '17 at 10:47