• Post Reply Bookmark Topic Watch Topic
  • New Topic

Dynamically creating multiple topics  RSS feed

 
Binoj Viswanathan
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to create topics Dynamically on client (producer) request on a JMS Server? Also is it possible to create multiple topics at same time?
 
Kiran Kumar
Ranch Hand
Posts: 107
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
if u want to create temporary topics for synchronous messaging, u can use the TopicRequestor while creating the message.
i dont know ur requirement and whether this helps or not
 
Binoj Viswanathan
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My requirement:
There are so many matches going on and i want send ball-by-ball descrition to the clients. for this i(application component)will create a topic for each match when match starts and start sending messaging messages to it. when a client connects and req for particular match, i make hime a durable subscriber to the particular topic and sends the messages to him
yea thats how i want to use multiple topics that r created and destroyed dynamically
pls help
 
Binoj Viswanathan
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My requirement:
There are so many matches going on and i want send ball-by-ball descrition to the clients. for this i(application component)will create a topic for each match when match starts and start sending messaging messages to it. when a client connects and req for particular match, i make hime a durable subscriber to the particular topic and sends the messages to him
yea thats how i want to use multiple topics that r created and destroyed dynamically
pls help
 
Binoj Viswanathan
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My requirement:
There are so many matches going on and i want send ball-by-ball descrition to the clients. for this i(application component)will create a topic for each match when match starts and start sending messaging messages to it. when a client connects and req for particular match, i make hime a durable subscriber to the particular topic and sends the messages to him
yea thats how i want to use multiple topics that r created and destroyed dynamically
pls help
 
Kiran Kumar
Ranch Hand
Posts: 107
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
can u give some more details about the requirements.
if it is web based and u want to do something like the stock quotes which keep updating on the web page, u need to use the server push model to the clients to get the updated data.
u can search for pushlets model of design in www.javaworld.com
hope this helps
 
Binoj Viswanathan
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
i cannot use pushlets. the 1st request is coming from PDAs to a webserver.then its then takes dat from application objects.there is some pgm running in PDAs which contiously sends request to the server. so no need of pushlets
on the other side i shud have MDBs which listents some topic nad gets data.ther shud be one toipic for each match. and these topics shud be created and destroyed dyamicali. also has to be mapped to MDBs
pls help
 
Kyle Brown
author
Ranch Hand
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm sorry, but if you've got clients continuously hitting a servlet for data, this just sounds like a better job for a database than for MDB's and Queues.
Kyle
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!