Search code examples
tomcatmessage-driven-beanopenejbmq

Configuring MDB in Openejb 3.1.4 and Tomcat


I am using Tomcat & OpenEJB 3.1.4.Working with Message Driven Bean(EJB 2.0 - MDB) to recieve messages from MQ.What all configuration or Setup I need to do with OpenEJB-Tomcat to recieve messages via MDB ?


Solution

  • While using the JMS api, to configure the topic/queue to listen to, you could add an entry in the openejb.xml as shown in topic/queue section here

    The configuration syntax is like key=value (property-file like syntax) inside an xml file.