[jboss-user] [EJB 3.0] - Dynamically deploy MDB

gr28 do-not-reply at jboss.com
Mon Sep 22 03:58:13 EDT 2008


Hi,

My environment:
- JBoss 4.2.3 (maybe upgrade to JBoss 5 in the future)
- JBoss Messaging
- Java 5
- Redhat Enterprise OS
- lots of EJB modules


I know that I can either use annotations or deployment descriptor to configure a Message Driven Bean. What I need is to subscribe an MDB to a queue dynamically at runtime. The configuration for the MDB is stored in the DB and the MDB class subscribes to different Queues. I do not want to manually subscribe to the Queue using JMS, but use the MDB features. 

Has anyone an idea how to dynamically deploy an MDB, without deployment descriptor or annotations?

Thanks,

Georg



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4177940#4177940

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4177940



More information about the jboss-user mailing list