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 » Help needed: custom java node and logging

Post new topic  Reply to topic
 Help needed: custom java node and logging « View previous topic :: View next topic » 
Author Message
apsy
PostPosted: Tue Oct 19, 2004 9:56 am    Post subject: Help needed: custom java node and logging Reply with quote

Novice

Joined: 10 Feb 2004
Posts: 24

I am trying to write a custom Java Node.
I need to log some information into the Wbimb sys log.
I found the following Java plugin API's .
I am at a loss on how to use the API .
Can someone please point out some documentation with regards to that .

I see bits and pieces of information
1)It looks like I need a XPG4 message Catalog. I found a way to create the catalog.Where should I put it on my AIX Server?
2) What is the relation ship between the resourceBundleName and
Messagkey and inserts parameters that the APi's use to log information?
3) What is the relationship betwen the XPG4 message Catalog and resource bundlename and what the message catalog contains?

public static void logInformation(Object source,
String methodName,
String resourceBundleName,
String messageKey,
String traceText,
Object[] inserts) throws MbException
Writes an information message to the WMQI system log. The message has the following format: BIP4360I: Java plugin node information: [MessageSource:MessageKey] Full message with inserts resolved: traceText

Parameters
source: - The object generating the log message.
methodName - The name of the method generating the log message.
resourceBundleName - The resource bundle name.
messageKey - The key to the message in the ResourceBundle.
traceText - The text that is extra to the message indicated by the key.
inserts - Array of Objects that constitutes the inserts into the ResourceBundle message referenced by the messageKey.
Throws
MbException
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 » Help needed: custom java node and logging
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.