|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Java Plugin - MbService.logError and MbFatalException |
« View previous topic :: View next topic » |
Author |
Message
|
Deeko |
Posted: Thu Mar 21, 2002 2:50 am Post subject: |
|
|
 Acolyte
Joined: 16 May 2001 Posts: 72 Location: Edinburgh, UK
|
Hi,
Anyone got these working? I keep getting nullpointerexceptions! The documentation is yet again quite scant in this area!
Regards,
Derek. |
|
Back to top |
|
 |
Deeko |
Posted: Fri Mar 22, 2002 6:40 am Post subject: |
|
|
 Acolyte
Joined: 16 May 2001 Posts: 72 Location: Edinburgh, UK
|
I've got both of these now working....if anyone's interested I can post how they work...managed to guess!!
Regards,
Derek. |
|
Back to top |
|
 |
amigupta1978 |
Posted: Fri Mar 22, 2002 4:54 pm Post subject: |
|
|
Centurion
Joined: 22 Jan 2002 Posts: 132 Location: India
|
Hi,
U can post here or to my email acct amigupta1978@yahoo.com , I am too trying somethings on the Java Plugin nodes, and want to know more that what sort of problems which I might face..
Thnx
Amit |
|
Back to top |
|
 |
Deeko |
Posted: Tue Mar 26, 2002 1:00 am Post subject: |
|
|
 Acolyte
Joined: 16 May 2001 Posts: 72 Location: Edinburgh, UK
|
Hi Amit,
Both these method calls work kind of similarly:
MbService.logError(CLASSNAME, METHODNAME, MSGSOURCE, ERROR, "text area...", LOGINSERT);
throw new MbRecoverableException(CLASSNAME, METHODNAME, MSGSOURCE, ERROR, "text area...", LOGINSERT);
Where:
String CLASSNAME - Your nodes classname (e.g. com.etc.etc.etc)
String METHODNAME - Method Name (e.g. "evaluate")
String MSGSOURCE - the name of a message file either your own or the MQSI one (WMQIv210 - located in install_dirmessages)....have a look in the MQSI one for layout info.
String ERROR - The Error number from the message file (4362 for instance is a "Java PlugIn error")
String[] SLOTS - an Array of values that get inserted into the message entry referred to by the ERROR key. They are represented in the message file by {n} values.
Hope this helps Amit...let me know if you have any questions!
Regards from Edinburgh,
Derek. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|