git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem with temp-queues


Hi all, 

can someone pls help me understanding what does this log mean: 

2018-09-05 16:32:13,658 | INFO | temp-queue://ID:abcd-44529-1536147286697-0:0:3913 on dispose, purge of 1 pending messages: org.apache.activemq.broker.region.cursors.VMPendingMessageCursor@6fc1988a | org.apache.activemq.broker.region.TempQueue | ActiveMQ BrokerService[localhost] Task-39379 

what is Task-number? what is @6fc1988a ? and the most important - temp-queue ID - what are these numbers for ? 


for some reasons (still can't find why) such messages appear in log and soon after we need to restart broker. 

and here is current destinationPolicy setting. Perhaps this has something to do with wrong policy ? 


<destinationPolicy> 
<policyMap> 
<policyEntries> 
<policyEntry topic=">" producerFlowControl="false"> 
<pendingSubscriberPolicy> 
<vmCursor/> 
</pendingSubscriberPolicy> 
</policyEntry> 
<policyEntry queue=">" producerFlowControl="false"> 
<pendingQueuePolicy> 
<vmQueueCursor/> 
</pendingQueuePolicy> 
</policyEntry> 

<policyEntry tempTopic="true" producerFlowControl="false" memoryLimit="10mb"> 
<pendingSubscriberPolicy> 
<vmCursor/> 
</pendingSubscriberPolicy> 
</policyEntry> 
<policyEntry tempQueue="true" producerFlowControl="false" memoryLimit="10mb" gcInactiveDestinations="true" inactiveTimoutBeforeGC="60000"> 
<pendingQueuePolicy> 
<vmQueueCursor/> 
</pendingQueuePolicy> 
</policyEntry> 

</policyEntries> 
</policyMap> 
</destinationPolicy> 

Thx 
Marcin