. k. Trong cửa sổ Add Tài nguyên, nhấp vào nút OK. 3. Thêm một kịch bản trước khi chế biến để ứng dụng mẫu PROBIZTALK Triển khai: a. Trong Notepad, tạo một tập tin mới và chèn nội dung của các tập lệnh được trình bày trong Ví dụ 10-2. b. Lưu tập tin là | CHAPTER 11 TO TUNE OR NOT TO TUNE NOBODY SHOULD ASK THAT QUESTION. 443 HTTP-Specific Tuning Several configuration and tuning parameters are accessible for the HTTP adapter through registry key entries and through the modification of the file that is located in the root BizTalk installation directory. Table 11-3 describes the registry settings that affect the performance of the HTTP adapter. Note that by default there are no HTTP adapter keys in the registry so the HTTP adapter uses the default settings. To change the default settings you need to create the following registry keys under the following locations in the registry DisableChunkEncoding RequestQueueSize and HttpReceiveThreadsPerCpu must be defined in HKEY_LOCAL_MACHINE SYSTEM CurrentControlSet Services HttpReceive. HttpOutTimeoutInterval HttpOutInflightSize and HttpOutCompleteSizemust be defined in HKEY_LOCAL_MACHINE SYSTEM CurrentControlSet Services BTSSvc HostName .14 15 Table 11-3. HTTP Adapter Settings Microsoft BizTalk Server 2006 Documentation 2006 15 Key Name Type Default Value Description DisableChunkEncoding DWORD 0 Regulates whether or not the HTTP Receive Adapter uses chunked encoding when sending responses back to the client. Set to a nonzero value to turn off chunked encoding for HTTP Receive Adapter responses. Minimum value 0 Maximum value Any nonzero value RequestQueueSize DWORD 256 Defines the number of concurrent requests that the HTTP Receive Adapter processes at one time. Minimum value 10 Maximum value 2048 HttpReceiveThreadsPerCpu DWORD 2 Defines the number of threads per CPU that are allocated to the HTTP Receive Adapter. Minimum value 1 Maximum value 10 HttpOutTimeoutInterval DWORD 2 000 Defines the interval in seconds that the HTTP Send Adapter will wait before timing out. Minimum value 500 Maximum value 10 000 000 Continued 14. Host Name is the actual host name. In BizTalk Server 2004 or a BizTalk Server 2006 upgrade from BizTalk 2004 the key may be .