activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Tully <gary.tu...@gmail.com>
Subject Re: Can I set a temporary queue size?
Date Thu, 22 Oct 2009 13:30:05 GMT
At the moment, policy entries are not applied to temp queues. They inherit
default values and hence have access to all the memory configured for the
broker.
One reason why may be that it is hard to know a temp queue name up front so
global settings will always be in effect.
A temp queue name is keyed off the connection id which can contain the
hostname  of the client. This may be sufficiently unique but would tie a
configuration.xml to a host, which could be restrictive long term.
To make this work, some mechanism to allow the identity of a temp queue to
be overridden (or user defined) would be necessary.

For the moment, Temp queues memory usage can only be controlled through the
brokers memory usage.

2009/10/21 sub3 <steve@subwest.com>

>
> Thanks for your help.
> But I have another thought. If I knew the name of the temp queue, couldn't
> I
> configure like:
> <policyEntry queue="tempQueue*" memoryLimit="100mb" />
> and it would obey that rule?  Is there anyway to know the names (or prefix)
> of temp queues ahead of time?
> Thanks.
>
>
>
>
> Gary Tully wrote:
> >
> > Temp queues will be subject to the same memory limits as regular queues
> > but
> > there is no explicit size limit. Message expiry (time to live) is
> probably
> > your friend here.
> >
> > 2009/10/20 sub3 <steve@subwest.com>
> >
> >>
> >> In my activemq.xml file, I like to keep all the queues small.  However,
> >> for
> >> one processes that accepts requests & return the data via a temporary
> >> queue,
> >> the data might be larger than my maximum size.
> >> Is there anyway to set the size of a temporary queue?
> >>
> >> Thanks.
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/Can-I-set-a-temporary-queue-size--tp25980282p25980282.html
> >> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
> >>
> >>
> >
> >
> > --
> > http://blog.garytully.com
> >
> > Open Source Integration
> > http://fusesource.com
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Can-I-set-a-temporary-queue-size--tp25980282p25991370.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>


-- 
http://blog.garytully.com

Open Source Integration
http://fusesource.com

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