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 » cniDeleteMessage call after exception in cniPropagate()

Post new topic  Reply to topic
 cniDeleteMessage call after exception in cniPropagate() « View previous topic :: View next topic » 
Author Message
mpuetz
PostPosted: Mon Jun 30, 2003 4:36 am    Post subject: cniDeleteMessage call after exception in cniPropagate() Reply with quote

Centurion

Joined: 05 Jul 2001
Posts: 149
Location: IBM/Central WebSphere Services

Hi folks,

I currently have some difficulty to decide whether I need to call
cniDeleteMessage() if an exception occurs in the the cniPropagate()
call to clean up resources of the message assembly.

The docs are somewhat contradictory on that one:

One the hand you are supposed to call cniDeleteMessage() for
each cniCreateMessage() you call in your plugin.
One the other hand you are not supposed to call any cniXXX() functions
after you caught an exception in your, except cniRethrowLastException().

Which statement rules over the other in this particular scenario ?
Did anyone ever have the chance to get a definitice answer to that ?
_________________
Mathias Puetz

IBM/Central WebSphere Services
WebSphere Business Integration Specialist
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » cniDeleteMessage call after exception in cniPropagate()
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.