All,
JBossMQ works extremely well for our purposes. In fact, it hasn't been touched 
in months and is happily doing it's thing. Our router pattern has an mdb 
connected to a mapped queue out to DMZ where our servlets interact with it, 
firewall, NAT, reverse lookup and all, it works like a champion.

Now it's time to expand. We are installing a second DMZ at a large ISP. I need 
to somehow route messages from this dmz as well. I know an MDB queue listener 
can only consume messages from one queue, per the spec. 

Is there a way to instance an MDB and create a second instance(via 
configuration?) that watches a different queue, from the same bytecode?

I am looking for a pointer on the cleanest way to do this. I really don't want 
to make a second mdb, same code, different name, but if that's the way it's 
done, cool.

Any advice would be greatly appreciated 8 ) I don't need a great deal of 
detail, just a pointer on what I should look for to figure out how to do this 
the cleanest way possible.

The way I see it, I either duplicate the router, or create a new type of mdb 
which does nothing but pull from the dmz's and drop the messages into the 
router queue (which would now be local), creating in effect, a simple queue 
aggregation system to consolidate stuff for the router.

Any help or links about this subject would be greatly appreciated.

-Neil

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

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


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to