dcsimg
How cange the default Topic cache-size in SwiftMQ
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Monday, January 27, 2003 02:08 AM

I have verified that there is a cache of 500 messages for each topic created.

If I create a slow consumer on a topic in the monitor I see that number of messages in the temporary queue created for the that subscriber is 0.

When the publisher exceeds 500 messages the number the temporary queue increases.

I tried to change the default cache size of Queue Manager but this cache is always 500.

Re: How cange the default Topic cache-size in SwiftMQ

Posted By:   Andreas_Mueller  
Posted On:   Monday, January 27, 2003 03:46 AM

There isn't a default cache of 500 messages per topic but per subscriber queue.


The reason why you see the subscriber queue growing after you've published more than 500 messages is the consumer-cache at the client side, which is 500 messages as well. Thus, if you have a slow subscriber, the first 500 messages are delivered to the client's consumer cache, and thereafter the subscriber queue's cache starts growing.


You can change both the default cache size for subscriber queues and the smqp-consumer-cache-size. The first is in the Queue Manager config. Change takes place when you resubscribe. The second is in the connection factory you use. Change takes place when you lookup the connection factory again and create your resources from it.
About | Sitemap | Contact