Try adding <broker .... allowTempAutoCreationOnSend="true">

so that gc include temporary destinations as well.


Regards
-- 
Dejan Bosanac
Senior Software Engineer | FuseSource Corp.
dej...@fusesource.com | fusesource.com
skype: dejan.bosanac | twitter: @dejanb
blog: http://www.nighttale.net
ActiveMQ in Action: http://www.manning.com/snyder/



On Fri, Mar 23, 2012 at 3:13 PM, Marcin Giedz <marcin.gi...@arise.pl> wrote:

>
> Hi,
>
>
> Our temp queue policy is set as follows:
>
>
> <policyEntry tempQueue="true" producerFlowControl="true"
> memoryLimit="100mb" gcInactiveDestinations="true"
> inactiveTimoutBeforeGC="30000">
> <pendingQueuePolicy>
> <vmQueueCursor/>
> </pendingQueuePolicy>
> </policyEntry>
>
>
> question: what conditions are taken into account in case of "remove daed
> temp queues"? - number of consumers, producers, etc?
>
>
> With such configuration I still can see live temp-queues with
> ConsumerCount=0 - I thought that this could trigger AMQ to remove such
> queue but it doesn't. Did I miss something in configuration?
>
>
> Thx
> Marcin

Reply via email to