-
1. Re: Stomp connection to JMS Topics
timfox Jun 11, 2010 2:02 PM (in response to mpeitz)How do you know the message never "arrives"? (What are you monitoring on JConsole?)
If there are no subscriptions on the topic, the message will go nowhere, that's just how topics work.
-
2. Re: Stomp connection to JMS Topics
mpeitz Jun 11, 2010 2:45 PM (in response to timfox)I guess I misunderstood how topics work. I figured that like queses if there were no subscriptions and never had been the messages would hold until someone actually was there to recieve it. I probably should of been able to see that. Sorry.
So in order to ensure that a message is actually read from a topic I need to create durable subscriptions before I ever put any messages on to the topic?
-
3. Re: Stomp connection to JMS Topics
timfox Jun 12, 2010 2:14 AM (in response to mpeitz)You don't need to create a durable subscription, but you do need to create a subscription.
The JMS spec or Sun JMS tutorial is a good place to understand the ideas behind publish/subscribe in JMS