• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • Devaka Cooray
Saloon Keepers:
  • Ganesh Patekar
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • salvin francis
Bartenders:
  • Ron McLeod
  • Frits Walraven
  • Pete Letkeman

JMS Pub/Sub  RSS feed

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can a publisher to a topic also be a subscriber to that topic? I cannot find anything that says this is not possible.

Thanks.
 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Ur Qs is.
"Can a publisher to a topic also be a subscriber to that topic? I cannot find anything that says this is not possible "

-- >>
I didnt get your question. Can you please explain so that I can help you out.
 
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It probably is possible - I can't think of a technical reason that would stop it. It is however a pointless thing to do.
 
(instanceof Sidekick)
Ranch Hand
Posts: 8791
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Consider a cluster or federation of servers. Any one of them could publish a message. All of them would be interested in receiving it.

Would you require each to publish on a different topic and subscribe to all the other topics in the cluster? I'd try to let all of them publish and subscribe to the same topic.
 
Chris Rosenquest
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Stan James: We are considering that all apps pub/sub to the same topic due to them having the responsibility to manage a similar piece of data.
Since I posted I haven't found anything indicating it is impossible to allow an app to pub/sub to the same topic.

Paul Sturrock: Having an app pub/sub to the same Queue is pointless (unless there is an async process can be better handled by JMS instead of threading or another async process). I'm sure if you understood our environment a bit better you'd be able to make that statement with some backing. A debate for another time.

Thanks all for the responses. I appreciate the time you all took to reply.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!