Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

one message to mutiple destinations.  RSS feed

 
RaviNada Kiran
Ranch Hand
Posts: 528
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hai all,

How can i send one message to mutiple destinations / Queues??
 
Jeanne Boyarsky
author & internet detective
Sheriff
Posts: 36441
454
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You could use a Topic where you post the message once and everyone who subscribes reads it. Or you could post it yourself to multiple queues in Java.
 
RaviNada Kiran
Ranch Hand
Posts: 528
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't want to use Topic .

"post it yourself to multiple queues in Java"

You want me to use JMSReplyto every Queue ??

Will the MQ will take care of this option if i configured MQ with virtual Queues option??
 
Anurag Blore
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ravi,

Do you have clear idea why we have two models in Messaging
Queue(Point to Point model)
Topic(Publish Subscriber model)
Please check this link:
sun jms
 
RaviNada Kiran
Ranch Hand
Posts: 528
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
so Ankit ,

You mean to say that it is not possible to send one Message to multiple Destinations in PTP?

Hey this is possible when configuring MQ settings .But i want to whether this is possible programatically .Thats the reason i posted.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!