Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Distributed Architecture and JMS

 
Neha Mohit
Ranch Hand
Posts: 87
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,

How do i publish a message from server to A to all its subscriber which are on server B using JMS Topic.


I tried google they all talk about the distributed java components but are all on the same server. In my requirement the java components are on different servers .

Any links , tutorials or a sample code if possible; please suggest

Thanks in advance
[ October 04, 2007: Message edited by: Neha Mohit ]
 
Nitesh Kant
Bartender
Posts: 1638
IntelliJ IDE Java MySQL Database
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think, I did not get your question.
You want to directly send message from one server to another?
In JMS, it will be like, you will be publishing a message for a topic to a JMS server and there will be subscribers to that topic who will receieve the message that you published.
None of the clients (publisher/consumer) resides inside the JMS server, so in a JMS scenario, all the parties are distributed!
Both publisher and consumer uses a JMS client library that takes care of delivering the message to the JMS server and getting messages from the server to the client.
Whichever sample code you would have got on the internet will refer to the above scenario only and you do not have to look for different versions for a distributed scenario so to say.
Hope this helps.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic