Queue size  Thread pools

Chapter 8: Message Service Tuning

Timeout settings

In queue or topic properties, the timeout setting specifies number of seconds that the message queue remains in memory when it is not being accessed by a consumer and has no registered listener. The default of 0 specifies no timeout. Any transient messages that are in memory when a timeout occurs are discarded.

If your application uses temporary queues or topics, the global session.timeout property specifies the default timeout–see “Other global settings”. If this value is not set, the default is 60 seconds. You can override the default by using a connection factory to create the temporary queue or topic, with a timeout specified in the EAServer Manager queue indicated by the connection factory’s CONFIG_QUEUE property.





Copyright © 2005. Sybase Inc. All rights reserved. Thread pools

View this book as PDF