activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Bain <>
Subject Re: JDBC persistence for postgresql
Date Wed, 07 Jun 2017 13:00:23 GMT
On Jun 7, 2017 4:14 AM, "Bill Chen" <> wrote:


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?

You call Message.setBooleanProperty().

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


I think I may have led you astray on this one. Per,
RetainedMessageSubscriptionRecoveryPolicy is always present in the broker,
and doesn't need to be configured explicitly. I'll update the wiki to
reflect that, when I have a chance.

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 don't understand what you're telling me. Are you saying that you switched
to using queues instead of topics and it worked?

I'm not sure what the cause is. The data in activemq_acks table

as follows:


View this message in context:
Sent from the ActiveMQ - User mailing list archive at

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message