On Tue, 2004-01-06 at 15:05, Srinivas Malladi wrote: > Hi Scott, > We are using JBOSS-MQ and in publisher/subscriber mode. The client is a publisher > and MDB is the subscriber. Since by default once the message published to a topic, > the MDB onmessage will get message. Is there anyway we can change this default > behavior in JBOSS? We have a requirement to pull message from topic not > automatically only by a special events or notifications >
As of 3.2.2 you can deploy an MDB with delivery disabled. See MDBConfig/DeliveryActive in docs/dtd/jboss_3_2.dtd To enable/disable delivery you have to use jmx to modify the JMSContainerInvoker for the MDB. The object name will be something like: jboss.j2ee:service=EJB,jndiName=local/<ejb-name>,plugin=Invoker,binding=default This is not a pull mechanism. Once you enable delivery the entire topic subscription will become eligible for delivery to the MDB. Regards, Adrian > > Srinivas Malladi > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user -- xxxxxxxxxxxxxxxxxxxxxxxx Adrian Brock Director of Support Back Office JBoss Group, LLC xxxxxxxxxxxxxxxxxxxxxxxx ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user