Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 7 Monitoring Activities : How Messages are Processed From the BG Process to the IAPJMS Process

How Messages are Processed From the BG Process to the IAPJMS Process
Once the BG process has been configured to enable audited activities to be published (defined in the IAPJMS_PUBLISH process attribute), it sends out messages whenever an audited activity occurs.
The messages are published to the IAPJMS process using a configurable port number (defined in the IAPJMS_PORTNO process attribute). The BG process has two delivery methods for publishing messages, synchronous and asynchronous (defined in the IAPJMS_SYNCHRONOUS process attribute).
SYNCHRONOUS - When the message is sent, a receipt is requested. The BG process waits until the IAPJMS process has confirmed the message has been published. If the message is not published, an error is written to the SWDIR/logs/sw_error file. With the SYNCHRONOUS method the BG process has to block until a response/timeout occurs which could impact throughput. This means the SYNCHRONOUS method is slower than the ASYNCHRONOUS method.
ASYNCHRONOUS - The message is assumed to have been processed correctly if the message was sent successfully to the IAPJMS process. The ASYNCHRONOUS method is faster than the SYNCHRONOUS method because it does not have to wait for a receipt.

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved