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
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
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