Thread pools  The key log table

Chapter 8: Message Service Tuning

Shared listeners

In client applications, a shared listener can greatly improve performance for nondurable topic subscribers by creating a single message queue for all the topic subscriptions. To use this feature:

  1. In EAServer Manager create a topic connection factory (or modify the one that you use already). Set the SHARED_LISTENER property to true.

  2. In your code:

    1. Use this connection factory to create your topic subscriptions.

    2. Install a message listener on the first topic subscription, then each nondurable subscription that uses the connection, receives messages from this listener.

EAServer imposes two restrictions for shared listeners:





Copyright © 2005. Sybase Inc. All rights reserved. The key log table