I was written a simple MessageListener(MDB) it is working fine.How to handle runtime exceptions in this.
[Ex: if was try to deploy this listener with a wrong queue name like "XXXX" instead of right one that time it is showing Exceptions and moreover deployment failure also coming.]
So how to avoid this type of Exceptions is there any EJB Annotations are available ?
And I tried to handle inside the below Class(ORANGE_QUEUE_MDB). But the control is not coming to inside . Please help me how to solve this type of Errors.
When I deploy above listener(with wrong queue name) in Jboss it is showing below exception The Exception is like below :
How to handle this type of exceptions , Can any one help me on this.