我开始研究现有项目,并希望测试我在Message驱动bean上所做的更改。但是我从未使用过消息驱动的bean,所以如何调用这个bean呢?是否可以通过SOAPUI调用来调用它? Bean代码:
@MessageDriven(name = "StudentsScores", activationConfig = {
@ActivationConfigProperty(propertyName = "destinationStudents", propertyValue = "javax.jms.Queue"),
@ActivationConfigProperty(propertyName = "destination", propertyValue = "queue/returns")
@ActivationConfigProperty(propertyName = "sendResponse", propertyValue = "true"),
@ActivationConfigProperty(propertyName = "dbPassword", propertyValue = "stud_db")
})
public class StudentScoreListener {
}