SteveC
SteveC

Reputation: 16823

Can you have multiple BizTalk receive host instances accessing a single SB topic/subscription?

Can you have multiple BizTalk receive host instances accessing a single SB topic/subscription?

We have a BizTalk 2013 R2 cluster with two machines, and sometimes were finding access to a SB topic/subscription stalls ...

And we have loads of event log warning about locks ...

"Microsoft.ServiceBus.Messaging.MessageLockLostException: The lock supplied is invalid. Either the lock expired, or the message has already been removed from the queue

The fix seems to be stopping one of the two receive hosts, stop/start the other receive host, and it happily processes through the SB messages

Upvotes: 1

Views: 337

Answers (1)

DTRT
DTRT

Reputation: 11040

Well, there is surprisingly little guidance on this topic so I'm going give an answer based on experience and expert opinion. ;)

You should treat the Service Bus Messaging Adapter in the same way we treat receive operations for other queueing system such as MSMQ or WMQ.

The Receive Adapter should be run in a clustered Host Instance to ensure only one is active at a time.

Upvotes: 1

Related Questions