Controlling confirmation from the EMS server to producer while receiving NON_PERSISTENT messages.

Controlling confirmation from the EMS server to producer while receiving NON_PERSISTENT messages.

book

Article ID: KB0089493

calendar_today

Updated On:

Products Versions
TIBCO Enterprise Message Service -
Not Applicable -

Description

Resolution:
Description:
= = = = = = =

Controlling confirmation from the EMS server to producer while receiving NON_PERSISTENT messages.

Environment:
= = = = = = =

ALL

Resolution:
= = = = = =

The parameter, npsend_check_mode [= always | never | temp_dest | auth | temp_auth], in tibemsd.conf  specifies when the server is to provide confirmation upon receiving a NON_PERSISTENT message from a producer.  The npsend_check_mode
parameter  applies only to producers sending messages using NON_PERSISTENT delivery mode and non-transactional sessions.  Message confirmation has a great deal of impact on performance and should only be enabled when necessary.

The circumstances in which a producer might want the server to send confirmation of a NON_PERSISTENT message are:

1).  When authorization is enabled, so the producer can take action if permission to send the message is denied by the server.

2).  When sending to a temporary destination, so the producer can take action if the message is sent to a temporary destination that has been destroyed.

3). The message exceeded queue/topic limit (requires reject incoming policy for topics).

4). Bridging of the message has failed.

5). The server is out of memory or the server has encountered some other severe error.  The possible npsend_check_mode  
    
The parameter modes are:

default (no mode specified) - same behavior as in EMS 4.3 and prior. This means the server only provides confirmation of a NON_PERSISTENT message if authorization is enabled.

always - the server always provides confirmation of a NON_PERSISTENT message.

never - the server never provides confirmation of a NON_PERSISTENT message.

temp_dest - the server provides confirmation of a NON_PERSISTENT message only when sending to a temporary destination.

auth - the server provides confirmation of a NON_PERSISTENT message only if authorization was enabled when the connection was created.

temp_auth - the server provides confirmation of a NON_PERSISTENT message if sending to a temporary destination or if authorization was enabled when the connection was created.

Reference:
=== = = = =
TIBCO EMS User's Guide

Issue/Introduction

Controlling confirmation from the EMS server to producer while receiving NON_PERSISTENT messages.