activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Etherealmachine <>
Subject Re: Non-Blocking Producer Flow Control
Date Thu, 18 Feb 2010 20:54:16 GMT

I was using the createTemporaryQueue method to create the queue, but I guess
a good solution would be to create all temporary queues using temp-<UUID>,
replacing UUID with a randomly generated UUID to avoid collisions, then
control the policy with wildcards. For posterity sake I should mention this
only works to avoid a DOS if the Producer ensures replies are sent to a
temp-* queue, or clients are not allowed to create non-temp queues,
otherwise a malicious client could direct traffic to a flow-controlled

bsnyder wrote:
> On Thu, Feb 18, 2010 at 11:13 AM, Etherealmachine
> <> wrote:
>> That looks like it would work, it should probably be linked to from the
>> Producer Flow control page. One problem - this is for a temporary
>> response
>> queue, is it possible to specify policies for temporary queues/topics?
> Not without knowing the name of the queue when the broker is started.
> One workaround is to create the queue at broker startup:
> Doing this would mean that the queues use known names and can then
> have explicit policies assigned to them.
> Another workaround is to use wildcards:
> If your temp queue names use a specific pattern then wildcards can be
> used to apply the policies.
> Bruce
> -- 
> perl -e 'print
> unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
> );'
> ActiveMQ in Action:
> Blog:
> Twitter:

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

View raw message