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 » Using CorrelId and ApplIdentityData for log purposes

Post new topic  Reply to topic
 Using CorrelId and ApplIdentityData for log purposes « View previous topic :: View next topic » 
Author Message
thyssen
PostPosted: Mon May 07, 2007 5:33 am    Post subject: Using CorrelId and ApplIdentityData for log purposes Reply with quote

Novice

Joined: 07 May 2007
Posts: 13

Hello,

we intend to establish a simple logging system using MQMD.Report options in ESQL. For that purpose the original message flows should simply write little pieces of information to MQMD.CorrelId and MQMD.ApplIdentityData as shown in the code example below. The broker then should write all report messages to a central ReplyToQueue from where a single logger flow evaluates the MQMD parameters and writes them to a logging database. However, we could see that within the generated report messages information in CorrelId is kept but the information in MQMD.ApplIdentityData is lost.

(1) Are there any techniques to "save" information in ApplIdentityData or in any other MQMD field than CorrelId?

(2) The generation of report messages does not seem to work with MQHSAP messages. Any ideas for that?

Thanks!


CREATE COMPUTE MODULE RequestReports
CREATE FUNCTION Main() RETURNS BOOLEAN
BEGIN
SET OutputRoot=InputRoot;
SET OutputRoot.MQMD.Report=MQRO_PASS_CORREL_ID + MQRO_COD_WITH_DATA;
SET OutputRoot.MQMD.ReplyToQ='TRACKING_REPORTS';
SET OutputRoot.MQMD.CorrelId=
CAST('myBusinessProcessId_Suff' AS BLOB CCSID OutputRoot.Properties.CodedCharSetId);
SET OutputRoot.MQMD.ApplIdentityData='more_data_to_correlate_reports'; --32-byte long
RETURN TRUE;
END;

END MODULE;
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon May 07, 2007 5:54 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Neither of these fields are appropriate for business level information.
_________________
I am *not* the model of the modern major general.
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 » Using CorrelId and ApplIdentityData for log purposes
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.