Hi All,
I am trying to use MDB with
JBoss server.I am not able to build it because of some missing tags(JBoss spcific tags) in source code.
following are the tags i am using in source.
/** @ejb.bean name="Message"
* acknowledge-mode="Auto-acknowledge"
* destination-type="javax.jms.Queue"
* transaction-type="Container"
* destination-jndi-name="jndi.BESIntermediateQueue"
* connection-factory-jndi-name="ConnectionFactory"
*
* @jboss.destination-jndi-name name="jndi.BESIntermediateQueue"
* @jboss.container-configuration name="Standard Message driven Bean"
*/
Error while building is :
Message=[Element type "message-driven" must be declared.] is not valid according to its DTD. This might be due to some missing @tags in your source.>>
Please give me some pointers.Thanks in Advance.