Sriram M
Sriram M

Reputation: 131

BizTalk Orchestration delay while communicating with external WCF Service

I am using a BizTalk orchestration which I use to call an external WCF web service. It is working fine for a stipulated period of time, but the call to external web services is waiting for sometime before making a call which causes a delay.

Below is the image of Orchestration Debugger.

Orchestration Debugger

As you can see that in shape "Last Seen Update Request" waiting for around 5 mins before making a call to the external WCF service.

What could be the possible cause for this delay?

Note : I am using Biztalk Server 2013 R2.

Upvotes: 0

Views: 692

Answers (1)

Gediminas K Didžioji
Gediminas K Didžioji

Reputation: 61

As these orchestration debugger activities not documented, we can only guess that send operations indicate when "send" has started and when it finished. For SendPort to delay finish "send" operation there are several reasons:

  • SendPort encounters error upon send and retry mechanism with delays kicks in;
  • SendPort is using OrderedDelivery and message get queued until proceeded,
  • You have no maxconnection set up in BTSNTSvc.exe.config and BizTalk strugles to make request in timely fashion using default settings (see https://msdn.microsoft.com/en-us/library/cc296870%28v=bts.10%29.aspx)

Other less likely reasons might be database lockings occuring in MessageBox, preventing orchestration to publish message, but if you were having such kind of problems, you have been noticing it all along other operations.

Upvotes: 3

Related Questions