On 22 January 2014 10:35, Gordon Sim <g...@redhat.com> wrote:

> On 01/22/2014 02:02 AM, Xiong Zou wrote:
>
>> You mentioned that /*"You need to make sure the publisher(s) mark(s) the
>> messages as persistent. Unfortunately at present the c++ broker doesn't
>> provide a way to override that on the broker side."*/
>> Does it mean that we can still achieve messages' persistence via C++
>> publisher?
>>
>
> Certainly, you just need to call Message::setDurable(true) on all messages.
>
>
>  How about a Java Broker? can Java Broker defines all message in a
>> particular queue to always be persistent, no matter whether a publisher
>> marks it persistent or not?
>>
>
> I'm not 100% sure, but I can't see any option for that in the docs or
> extensions age. Perhaps someone from the java broker development team can
> correct me if I'm wrong though.
>
>
No - you are correct - there is not currently an option for doing this in
the Java Broker, though it is something we've discussed previously.

 I like your idea with amq.topic/USA.news; {link:{name:my-subscription,
>> durable:True}}  plus the auto_delete_timeout. Can I set the timeout to be
>> a
>> whole day as auto_delete_timeout:86400 ?
>>
>
> Certainly. Make sure your queue has sufficient capacity (in memory and in
> the journal) to store the expected amount of traffic for a whole day, but
> otherwise there is no problem.
>
>
>
-- Rob


>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org
> For additional commands, e-mail: users-h...@qpid.apache.org
>
>

Reply via email to