[jboss-user] [JBoss Messaging Users] - Re: Queue-like/Persistent Topics
PeterJ
do-not-reply at jboss.com
Mon Aug 31 10:32:43 EDT 2009
Creating the durable subscriptions beforehand and then having later subscribers use them is the only thing I could come up with. But you will need to know how many potential subscribers you will have. If you create too few durable subscriptions, some subscribers will not get the messages. If you create too many, the messages will hang around forever.
This really sounds like a job for a MDB and a SLSB. The MDB subscribes to the topic and places all messages in a database. When a new client comes up, it connects to the topic to get future messages and asks the SLSB for the historical messages.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4252638#4252638
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4252638
More information about the jboss-user
mailing list