JBoss MDB

This post describes usage of Jboss JMS Feature using a Message Driven Bean (MDB) consumer. Note: In this article , we would be using the default JMS queue ‘/queue/DLQ’. 1. Create a Message Driven Bean with bean class TestMDB.java   import java.io.PrintStream; import javax.ejb.MessageDrivenBean; import javax.jms.*; import weblogic.ejb.GenericMessageDrivenBean; import javax.ejb.MessageDrivenBean;

Continue reading »