springboot以方法调用的方式执行activemq

我们知道,在springboot中要发送消息给activemq,需要
在消费体中注释
@JmsListener(destination = MQDest.PUSH)

然后在service去用jmsTemplate调用
jmsTemplate.send(MQDest.PUSH, session -> {
ObjectMessage message = session.createObjectMessage(msg);
return message;
});

。。。我想请问一下,有什么办法可以直接像执行方法一样去调用,。。否则的话,我用idea都无法去跳转点开。。