TAILIEUCHUNG - Pro BizTalk 2006 phần 6

các tập tin cấu hình để lưu trữ các giá trị cho các sự kiện được sử dụng trong các quy tắc kinh doanh, một công cụ quy tắc cung cấp sự linh hoạt lớn hơn nhiều so với bảng cơ sở dữ liệu đơn giản hoặc các tập tin cấu hình. Một công cụ quy tắc cho phép bạn để cô lập các điều kiện cũng như hành động từ dòng chảy ứng dụng. | CHAPTER 6 BIZTALK DESIGN PATTERNS AND PRACTICES 235 Table 6-1. List of Projects Within Exception Management Solution Project Name Description . . . Contains the EAIProcess orchestration schedule and references the and . projects as well as the . assembly. Contains the schemas and maps used by the EAIProcess orchestration. Contains two orchestrations EAIGenericHandler EAIProcessHandler that demonstrate strongly-typed and typeless options of using the Failed Orchestration Routing API. References the and . project as well as the . assembly. Add an exception handler to the Execution Scope shape and configure it to capture all . Once the exception is generated control will jump to the exception handler. Within the exception handler you need to follow a fairly simple methodology 1. Create a Fault message. 2. Add the ApprovedRequest message to the Fault message. 3. Add the DeniedRequest message to the Fault message. 4. Add the Exception object caught by the exception handler to the Fault message. 5. Publish the Fault message to the Messagebox. So how would you do this By using an API to enable this functionality which is embodied within the two projects listed in Table 6-2. Table 6-2. Failed Orchestration Routing API Projects Project Name . Exception . Description Contains all public methods for handling Fault-message processing within orchestrations. The public methods are CreateFaultMessage AddMesssage SetException GetException GetMessage and GetMessages. This assembly must be registered in the local GAC. Contains Fault message schema and system .

TỪ KHÓA LIÊN QUAN
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.