Tim,

I'm sorry that confused you about the reference link.
I'm doing the ActiveMQ way, and I have encountered some questions.

First, how to set the ActiveMQ.Retain property?

Second, I try to add the RetainedMessageSubscriptionRecoveryPolicy in my
configuration, but that occurred exception when activemq start. The
configuration as follows:
<destinationPolicy>
  <policyMap>
    <policyEntries>
      <policyEntry topic=">" >
        <pendingMessageLimitStrategy>
          <constantPendingMessageLimitStrategy limit="1000"/>
        </pendingMessageLimitStrategy>

        <subscriptionRecoveryPolicy>
          <retainedMessageSubscriptionRecoveryPolicy/>
        </subscriptionRecoveryPolicy>
      </policyEntry>
    </policyEntries>
  </policyMap>
</destinationPolicy>

Third, I have successfully received the message from the topic in the
previous test. But I find the subscriber change to that queue on the web
console now. I'm not sure what the cause is. The data in activemq_acks table
as follows:
<http://activemq.2283324.n4.nabble.com/file/n4727144/activemq_acks.png> 

Bill



--
View this message in context: 
http://activemq.2283324.n4.nabble.com/JDBC-persistence-for-postgresql-tp4727004p4727144.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to