How do I determine how many licenses I need when I am using the JMS interface?

How do I determine how many licenses I need when I am using the JMS interface?

book

Article ID: KB0089093

calendar_today

Updated On:

Products Versions
Not Applicable -

Description

Resolution:
1. For regular Pub-Sub (i.e.,  best-effort pub-sub) with no persistent messaging, no durable subscriptions, and no transactional message processing, one RTserver
connection/license is used for each call to TopicConnection.
Each TopicConnection maps to a single connection to RTserver. So, if you have 25 licenses for the RTserver; and, if each client creates one TopicConnection within it's code and is just doing regular pub-sub, then you will be able to bring up 25 clients.

2. For each Pub-sub client publishing persistent messages, subscribed durably to one or more topics, or publishing messages using transactional semantics, a Virtual Session gets established with RTrms which creates an additional connection to RTserver. That means that each such client will require at least 2 connections. (Additional connections/licenses will be required if there are multiple calls to TopicConnection.)

For example, if you have 10 clients publishing persistent messages and 10 clients subscribing durably to certain topics, then you would need 40 licenses. Each
client has both a primary RTserver connection and a virtual connection which uses an RTserver connection/license to establish a session with RTrms.

(NOTE:  The virtual connections are not visible to monitoring)

Issue/Introduction

How do I determine how many licenses I need when I am using the JMS interface?