why are you creating a consumer in your code if you want the MDB to consume the message?
There are plenty of examples shipped that use MDB's, some of which also demonstrate configuring the MDB. Take one of these, get it working and then use this.