WebSphere Message Brokers
File:
as08550_
Writer:
Lorraine Waitt
Reference topic
This build: July 31, 2007 21:38:17
C common utility functions
WebSphere Message Broker
provides some additional utilities that user-defined nodes and parsers can use. These are:
Exception handling and logging
Character representation handling
These functions are defined in the
BipCci.h
header file
.
The following exception handling and logging functions are provided for use by a user-defined node or parser:
cciGetLastExceptionData
cciGetLastExceptionDataW
cciLog
cciLogW
cciRethrowLastException
cciThrowException
cciThrowExceptionW
The following utilities help you convert between
WebSphere Message Broker
's internal processing code (in UCS-2) and file code (for example, ASCII).
cciMbsToUcs
cciUcsToMbs
The following utility functions enable you to determine whether trace is active, and write entries that are appropriate for the trace settings.
ccilsTraceActive
cciUserTrace
cciUserTraceW
cciUserDebugTrace
cciUserDebugTraceW
cciServiceTrace
cciServiceTraceW
cciServiceDebugTrace
cciServiceDebugTraceW
The following utility function is used to register a function that is to be called when the current thread enters a particular state:
cciRegisterForThreadStateChange
The following utility functions are available for use with user exits:
cciGetBrokerInfo
cciGetNodeAttribute
cciGetNodeName
cciGetNodeType
cciGetSourceNode
cciGetSourceTerminalName
cciGetTargetNode
cciGetTargetTerminalName
cciInputMessageCallback
cciNodeCompletionCallback
cciPropagatedMessageCallback
cciRegisterUserExit
cciTransactionEventCallback