我使用Grails JMS插件中的注释grails.plugin.jms.Queue,但我无法弄清楚如何使用变量作为name属性的值。Grails jms队列注释失败,最终参数
这样的:
private static final inDebit = ConfigurationHolder.config.Q_IN_DEBIT
@Queue(name = inDebit)
使我有以下错误:
Attribute 'name' should have type 'java.lang.String'; but found type 'java.lang.Object' in @grails.plugin.jms.Queue
我使用 Grails的1.3.7,Grails的JMS插件1.1
在我看来像inDebit
变量在某处失去其类型?