Java 通过SOAPUI调用消息驱动bean?

Java 通过SOAPUI调用消息驱动bean?,java,jakarta-ee,ejb-3.0,Java,Jakarta Ee,Ejb 3.0,我开始处理一个现有的项目,并希望测试我在消息驱动bean上所做的更改。但是我从来没有使用过消息驱动bean,那么如何调用这个bean呢?可以通过SOAPUI调用调用它吗? Bean代码: @MessageDriven(name = "StudentsScores", activationConfig = { @ActivationConfigProperty(propertyName = "destinationStudents", propertyValue = "ja

我开始处理一个现有的项目,并希望测试我在消息驱动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 {

}

是的-您可以通过使用Hermes JMS来实现这一点。您可以将其用作独立的util或集成到SoapUI中。有关更多详细信息,请参阅