[jboss-user] [JBoss Messaging Users] - message publishing to stopped topic

strzyga do-not-reply at jboss.com
Wed Nov 18 07:43:04 EST 2009

i'm using JBM 1.4.0.SP3/JBoss 4.3.0 GA

i have a topic with one durable subscriber and a publisher which periodically publish messages to topic 
when i stop the topic (jmx-console stop() method) publisher still publishes messages, but those messages are not persisted in DB (and not received by consumer)

the problem is that method TopicPublisher.publish(Message), while publishing to stopped topic, returns without any exceptions, so i have no idea that something is wrong and that i'm loosing messages
is it ok?

JBM 1.4 User's Guide chapter 7.7 says:
"If the call to send a persistent message to a persistent destination returns successfully with no exception, then you can be sure that the message was persisted..."

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266279#4266279

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266279

More information about the jboss-user mailing list