Re: How cange the default Topic cache-size in SwiftMQ
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.