Biz Talk Queue Management

Since the BizTalk Server is constantly going to be receiving and submitting documents, it is important to have a place to put those documents while we are waiting to process them. Figure 1.5 takes another look at the Administration tool. Now we are going to focus on the queues that you will have to work with as a BizTalk Server administrator.

Figure 1.5 BizTalk Server Administration Microsoft Management Console Snap-In

Figure 1.5 BizTalk Server Administration Microsoft Management Console Snap-In

The four queues are defined as follows:

■ Work The Work queue holds the documents that have been submitted via the IInterchange interface. Documents that are placed in this queue should be processed immediately. It should be rather rare for you to find any documents in this queue. Only when your server or server group has received more documents than can be processed will you find any documents in this queue. If you do find them in this queue, it should be a cause for concern. Ramifications, and if necessary, remedies should be investigated, including additional processing power.

■ Schedule After documents are picked up from the Work queue, they are placed in the Schedule queue for delivery. Documents that are visible in this queue are ones that cannot be sent to their destination at this exact time, but are scheduled for delivery at another time. They may be waiting for a particular time (such as off-peak hours) for delivery.

■ Retry If for some reason there is a problem with the message itself (e.g., it is either incomplete or improperly formatted), it will be moved to the Suspended queue. However, if the system is having trouble completing the actual delivery, the document will stay in the Retry queue while attempts to resend the document are made.You can configure how many times the system will attempt a retry on a document, as well as the interval between retries. This setting is under Retry options on the Advanced Configuration page within the Channel Wizard.

■ Suspended There are a variety of reasons why a document may end up in the Suspended queue. If a document has continued to fail to be transmitted and has arrived at the maximum number of attempts threshold, it will be placed in the Suspended queue. If a document is not properly formatted, it will be placed in the Suspended queue. The list goes on. Normally, we will end up deleting the documents within this queue, but before doing so we can get some interesting troubleshooting information from the documents themselves.We can look at the error information returned from the Messaging Services as well as additional document information depending on the state of the document.


For troubleshooting queue problems, consult online

BizTalk Server documentation and look for "Suspended Queue States."

Microsoft provides a detailed table which lists common states, error messages, and explanations/suggestions.

Was this article helpful?

0 0

Post a comment