jQuery in Action, 2nd edition
The moose likes EJB and other Java EE Technologies and the fly likes Persisting messages in JMS Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Reply Bookmark "Persisting messages in JMS" Watch "Persisting messages in JMS" New topic
Author

Persisting messages in JMS

Matt Givney
Greenhorn

Joined: Sep 17, 2003
Posts: 2
Hello,
JMS question. I have a topic publisher/subscriber set up on a single topic. When both are logged in and I post a message, I receive it without any problem.
But if my publisher publishes a message while the subscriber isn't running, and I then run the subscriber, the message never gets delivered. As long as the topic is alive, shouldn't the message persist on the topic until the subscriber pulls it off? If so, where should I look to correct this issue?
Thanks!
Matt
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8876

Use Durable Subscription.
http://www.jguru.com/faq/view.jsp?EID=1176
JMS Tutorial
http://java.sun.com/products/jms/tutorial/1_3_1-fcs/doc/advanced.html#1024758


Groovy
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Persisting messages in JMS
 
Similar Threads
JMS publish and subscribe
Durable Subscriber Problem
JMS Q in clustered environment
JMS -Topic message Unicast ?
Durable Subscriber Problem