Thanks. I tried adding all these attributes, i get the error :
"javax.naming.NameNotFoundException: TestMdbTopic not bound"
| @MessageDriven(mappedName = "topic/TestMdbTopic",
| activationConfig = {
| @ActivationConfigProperty(propertyName = "acknowledgeMode", propertyValue =
"Auto-acknowledge"),
| @ActivationConfigProperty(propertyName="subscriptionDurability",
propertyValue="Durable"),
| @ActivationConfigProperty(propertyName="subscriptionName",
propertyValue="topicmdb"),
| @ActivationConfigProperty(propertyName="clientId",
propertyValue="mdbtopic-test"),
| @ActivationConfigProperty(propertyName = "destinationType", propertyValue =
"javax.jms.Topic"),
| @ActivationConfigProperty(propertyName = "destination", propertyValue =
"topic/TestMdbTopic")
| })
|
Someone claims it works (in Spanish):
http://blog.neodoo.es/fsolans/entry/mdb_con_anotaciones_pojo_ejb3
It does not ( i kept only the attributes he used : mappedName, acknowledgeMode,
destinationType, destination)
Does anyone else have a clue ? Thanks
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4178451#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...