MDB消息驱动注释报错都是防辐射地方

@MessageDriven(activationConfig = {
@ActivationConfigProperty(propertyName = "destinationType",propertyValue = "javax.jms.Queue"),
@ActivationConfigProperty(propertyName = "destination", propertyValue = "queue/myqueue") })

public class MyQueueMDBBean implements MessageListener {

显示的错误:1.ActivationConfigProperty cannot be resolved to a type
2.The attribute propertyName is undefined for the annotation type ActivationConfigProperty

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问
相关内容推荐