Biztalk hands-on Experiment (10) business activity monitoring (BAM) Demonstration

Source: Internet
Author: User
Tags biztalk visual studio 2010
1 course Introduction

Familiarize yourself with the use of business activity monitoring (BAM) and the configuration of each component through this course.

(Windows 2008 32-bit OS + Visual Studio 2010 + BizTalk 210)

2. Preparations

1. Familiar with BizTalk schema, orchestration and Other Related Development Technologies

3 demo

1. Create a BizTalk Project (Signature and Application name configuration)

2. Create a schema, and create fields such as ID (string type), product (string type), quantity (INT type), and price (decimal type), as shown in

3. Create an orchestration and configure the corresponding process, message, and port.

4. Deploy the project and configure the receiving and sending ports and orchestration.

5. Start the application and test (use schema to generate the corresponding test XML)

6. Open excle, click BAM in the add-ins menu bar, and click Bam activity...

7. Click create in the pop-up activity definition window, and enter orderinfo in the activity name of the new activity window.

8. in the "new activity window", click "new item", enter "begin" project name ", and select" Business milestones "in" project type. similarly, create a business milestone activity item named end.

8. create other activity items, as shown in

9. Click OK twice to enter the view creation wizard.

10. Create a New View

10. In the view name and activity window, enter the orderinfoview name and select the created orderinfo activity.

11. Select all items

12. In the "view items" window, select new group

12. In the new group window, enter the group name "orderdemo-" and select all milestone instances. Click OK to save.

13. Click "orderduration", and select "second" in time resolution. Click OK to save.

14. Click Next to create a data dimension.

15. Click Create dimension, enter products in dimension name, select data dimension from dimension type, and select productname from dimension levels.

16. Create a numeric dimension as shown in Figure

17. Creation Time Dimension

18. Create measurement values

19. Create a counter

20. Click "Next" twice to complete the view creation process.

Custom Pivot table

21. create order quantity statistics based on product name and time classification

22. Copy the first table and create statistics on the average price and quantity of products of different categories based on time.

23. Select the table, click tetechart in the menu bar, and select the corresponding statistical chart.

24.save excelas orderinfoview.xlsx

Deploy the BAM Excel definition file

25. Use the following two commands to deploy the BAM Excel definition file (replace the Excel file location with the actual location in the second command)

Cd c: \ Program Files (x86) \ Microsoft BizTalk Server 2010 \ tracking

BM deploy-all-def
Initionfile: "D: \ projects \ applabs \ bamlab \ orderinfoview.xlsx"

Associated operation

26. Open BizTalk serve 2010 in the Application List

27. In the tracking configuration file editor, click Import Bam activity definition, and select orderinfo in the definition name.

28. Select bamlab In the event Source

29. Click Next and select orchestration.

30. Drag receive_1 to begin and send_1 to end.

31. In the orchestration view, right-click receive_1 and choose message payload schema.

32. Drag the corresponding node to the activity.

33. Click the associated field in the activity item and configure the associated port for it

34. The configuration file for storing another trace is orderinfo. BTT.

35. Use the following two commands to deploy the tracking configuration file (replace the configuration file location with the actual location in the second command)

Cd c: \ Program Files (x86) \ Microsoft BizTalk Server 2010 \ tracking

Bttdeploy D: \ projects \ applabs \ bamlab \ orderinfo. BTT

36. Verify view deployment in the BAM Portal

Test

Note: messages with the same ID are ignored.

Access the BAM Portal

View Excel files

Add reminder

1. Set query conditions in the BAM portal for search

2. Click Set alert.

3. Click "save" and add a subscription to the subscriber (the email subscription account is [email protected]. Please run the NS $ bamalerts and hmailserver services normally)

4. After a message meeting the conditions arrives, an email notification is sent.

Biztalk hands-on Experiment (10) business activity monitoring (BAM) Demonstration

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.