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

2009-11-25 Thread strzyga
OK, maybe it'll help if I provide more context for what I'm doing. In my application remote clients call stateless ejb to send data to specified topic. An ejb calls singleton object which holds a map with entries in the form topic name-TopicPublisher object. If there is no map entry for

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

2009-11-20 Thread strzyga
Thanks for the reply, Here's the code for two MBeans - producer and consumer: Producer: | package topictest; | | import java.util.concurrent.atomic.AtomicLong; | | import javax.annotation.Resource; | import javax.jms.JMSException; | import javax.jms.Session; | import

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

2009-11-18 Thread strzyga
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