ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Calling cniDeleteMessage after CCI_EXCEPTION

Post new topic  Reply to topic
 Calling cniDeleteMessage after CCI_EXCEPTION « View previous topic :: View next topic » 
Author Message
Oron
PostPosted: Wed Sep 03, 2003 10:50 pm    Post subject: Calling cniDeleteMessage after CCI_EXCEPTION Reply with quote

Newbie

Joined: 28 Aug 2003
Posts: 8
Location: Israel

Is it safe calling cniDeleteMessage after CCI_EXCEPTION ... before calling the cciRethrowLastException ...
It says in the documnet ....
"... If an exception occurs and is caught by a user-defined extension, the extension must not call any utility functions except cciGetLastExceptionData or cciRethrowLastException. An attempt to call other utility functions will result in unpredictable behavior which might compromise the integrity of the broker. .."
so what heppend to the messages ceatated by calling cniCreateMessage() ... are they become unrecoverable memory leeks ....

10x
Oron
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Mateo
PostPosted: Mon Sep 08, 2003 3:14 am    Post subject: Reply with quote

Novice

Joined: 21 Aug 2002
Posts: 24

Hi Oron
In U487642.TXT comming with U487642 patch I've found following:
Quote:
Note that the copy of the input message created by the cniCreateMessage function must be deleted by a matching call to the cniDeleteMessage function after the message has been propagated, or during cleanup processing after an exception has been thrown. This will ensure resources allocated by cniCreateMessage are returned.


We have also found that before instaling mentioned patch for MQSI some memory leaks occured (we use Java and C plugin nodes, HP-UX MQSI 2.1). Patch at least reduced these leaks.

Mateo
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Calling cniDeleteMessage after CCI_EXCEPTION
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.