|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
ESQL User define message catalog |
« View previous topic :: View next topic » |
Author |
Message
|
anpati1 |
Posted: Fri Jan 04, 2008 5:03 am Post subject: User defined exception catalog |
|
|
Novice
Joined: 07 Jun 2007 Posts: 24 Location: Marlow, UK
|
Hi,
None of the posts or IBM documentation seem to clearly list out the steps to create and use a user defined message catalog within message broker.
I want to create a message catalog for certain exceptions and then would like the exception list text display the message defined in the catalog.
I intend to throw the exception using esql such as
Code: |
THROW USER EXCEPTION CATALOG 'MyCatalog' MESSAGE 9100 |
I want the catalog to be flow specific.
And would like the ExceptionList to look something like below
Code: |
(0x03000000):Catalog = 'MyCatalog'
(0x03000000):Severity = 1
(0x03000000):Number = 9100
(0x03000000):Text = 'CatalogText'
(0x01000000):Insert = (
(0x03000000):Type = 5
(0x03000000):Text = 'CatalogText2'
)
|
Can you please advise on the format of the properties file?
The one I have made up based on the BIPv600.properties is as below
Code: |
9001: ADD9001I: \
CatalogText . |
What will delimit the 'CatalogText2' ?
What are the deployment steps for this properties file along with the bar file?
Your help is sincerely appreciated
Thanks in advance |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Jan 04, 2008 5:29 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Mods, please split this thread.
There are some basic steps listed, in very little detail, in the documentation on how to create a message catalog.
The reason there is very little detail is because WMB is using existing mechanisms for defining these files - that are not WMB specific.
In the case of ESQL throwing an exception, the exception list is populated from a file that is built using an OS specific format - a particular type of .dll on Windows and an a specific type of other thingy on Unix.
In the case of Java throwing an exception, the exception list is populated from a java properties file. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Jan 04, 2008 6:56 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Split as requested _________________ MQ & Broker admin |
|
Back to top |
|
 |
AndreasMartens |
Posted: Mon Jan 07, 2008 8:45 am Post subject: Re: ESQL User defined exception catalog |
|
|
 Acolyte
Joined: 30 Jan 2006 Posts: 65 Location: Hursley, UK
|
could I ask which platform you are attempting this on? as mentioned earlier, for Java you can create a cross-platform .properties file, for ESQL you need a platform-dependant message catalogue (dll in Windows, cat in Unix).
cheers |
|
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
|
|
|
|