@ActivationConfigProperty(propertyName = "destination", propertyValue = "queue/event")
It indicates the destination that this MDB consumes messages from. The destination must exist by the time this MDB is deployed.
You can ask EJB guys for more help, as this is not part of JBoss Messaging.
Thank you gaohoward. I will post this query in EJB forum.
So probably its combination of @ActivationConfigProperty annotations defined in my MDB which make it work in JBoss 4.2.1, but why not in JBoss5.1.0 as both supports EJB3 though by default JBoss 4 uses JBoss MQ and JBoss 5 uses JBoss Messaging.