Click New, and go to the list of JMS resources.

Monitoring Instance Message Data With Oracle BAM 23-7

23.7 Creating a Dashboard to Monitor Oracle B2B

Real-time monitoring dashboards are created using Oracle BAM Active Studio. Create a dashboard to monitor Oracle B2B using the B2BDO data object. To create a simple report: 1. Log in to Oracle BAM at the following URL: http:host_name:port_numberOracleBAM The default port number is 9001.

2. Select Active Studio to open the Oracle BAM Active Studio application.

3. Click Create A New Report.

4. Select a Tiled Report with four quadrants.

ERRORDESCRIPTION VARCHAR22000 PROCESSING_TIME NUMBER10 DOCUMENTTYPE VARCHAR2513 CORRELATIONID VARCHAR2256 FABRIC_ECID VARCHAR2512 FABRIC_COMPOSITE_NAME VARCHAR2512 AM_RESUBMIT_COUNT NUMBER10 TRANSACTIONCONTROLNUMBER VARCHAR2256 GROUPCONTROLNUMBER VARCHAR2256 INTERCHANGECONTROLNUMBER VARCHAR2256 PROTOCOLWORKAREA CLOB B2BWIREMESSAGEID VARCHAR2256 B2BTIMESTAMP DATE CONVERSATIONID VARCHAR21024 PROTOCOLMESSAGEID VARCHAR21024 URL VARCHAR21024 TRANSPORTPROTOCOL VARCHAR2513 TRANSPORTHEADERS VARCHAR22000 WM_RESUBMIT_COUNT NUMBER10 DOCUMENTPROTOCOL VARCHAR2513 EXCHANGEPROTOCOL VARCHAR2513 AGREEMENTID VARCHAR2256 SENDERNAME VARCHAR2256 SENDERID VARCHAR2513 RECEIVERNAME VARCHAR2256 RECEIVERID VARCHAR2513 Table 23–2 Cont. Oracle B2B Instance Message Fields Field Type 23-8 Oracle Fusion Middleware Users Guide for Oracle B2B

5. In the upper left quadrant, select Bar Chart you may need to click twice.

A sample bar chart is displayed, and the view editor opens at the bottom of the Oracle BAM Active Studio window.

6. In the view editor Data Objects selection, select B2BDO and click Next.

7. In the Group By list, select state.

8. In the Chart Values list, select b2bMessageId and click Next.

9. Click Change View Properties and enter the following information:

Enter B2B State in the View Title field. Check the Display Legend checkbox.

10. Click OK.

11. Similarly, follow the instructions in the Oracle Fusion Middleware Users Guide for Oracle Business Activity Monitoring to create display information for the other quadrants in the dashboard. For example, you could group by documentProtocol, exchangeProtocol or direction of the messages in the other three quadrants. 12. Once you are finished configuring view for each of the quadrants, save the dashboard.

13. Go to the main Oracle BAM page and select Active Viewer.

14. Select the dashboard that you created to view it in Oracle BAM Active Viewer. 15. The views in the dashboard refresh automatically when any new instances are created in the b2b_instancemessage view, and the data is pushed into the B2BDO data object. The changes are reflected instantaneously. For more information about creating Oracle BAM dashboards, see Oracle Fusion Middleware Users Guide for Oracle Business Activity Monitoring.

23.8 Enabling the Oracle BAM Integration in Oracle B2B

To enable the Oracle BAM integration in Oracle B2B, set the following properties in the Oracle B2B AdministrationConfiguration tab: Enable BAM - Set to true. When b2b.enableBAM is set to true, the Oracle B2B user interface automatically starts the database job in the database to monitor new instances in the b2b_instancemessage view. When b2b.enableBAM is set to false, the user interface automatically removes the database job from the database. BAM Polling Interval – the interval in minutes when the database job polls the Oracle B2B instance table for any updates and puts them on the AQ JMS queue for uptake by Oracle BAM. Values less than a minute can also be specified, for example, 0.5 minutes.