消息驱动bean 中如何设置ConnectionFactory,用的不是JBoss自带的MQ,所以才需要查找connectionfactory@MessageDriven(activationConfig = {
@ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue"),
@ActivationConfigProperty(propertyName = "destination", propertyValue = "activemq/queue/outbound")
})我试过
@ActivationConfigProperty(propertyName = "connectionFactoryJndiName", propertyValue = "java:activemq/QueueConnectionFactory"),但JBoss报错No property found for: connectionFactoryJndiName on JavaBean谢谢