I am using version 4.0.3SP1
I have set up a Topic, and am subscribing to this topic as a durable
If I stop the client (durable subscriber) and publish any message, this message is not being persisted in the database. I thought that when I
re-subscribe, the client would be able to receive any messages that
are published while it's not subscribed...
When I subscribe to this topic, and view the jmx-console, I do see that the
DurableSubscriptionsCount is set to 1.
I tried to follow the following sequence of steps....but, it didn't work:
1) Setup durable subscription
2) stop the client (unsubscribe)
3) publish a message
At this time, when I check, there are no messages in the JMS_MESSAGES
table in the database...
When I re-connect and re-subscribe, the client doesn't receive any messages...
In the deploy/jms/oracle-jdbc2-service.xml file, the destination manager is configured as follows:
The PersistenceManager is configured as follows:
------ similar to the example configuration ---
Would appreciate any help!
Please ignore this message....I realized that as part of the code which stops my consumer, I am calling session.unsubscribe()....after I removed that, I certainly could see messages being persisted...
Sorry for the initial message....