I'm new in Spring JMS, I'm trying to test a method that uses @JMSListener.
Do you have idea how to test this using mockrunner or other tool you know?
I've seen this sample but I'm not sure if this is applicable for my case. https://dzone.com/articles/mockrunner-jms-spring-unit
@Service
public class MyJMSService {
@JmsListener(destination = "jms/queuename")
public void processMessage(ObjectMessage msg) throws JMSException {
//do stuff
}
}