Wednesday, 5 March 2014

BizTalk : Defining multiple database ReceiveLocation with same db connection string



BizTalk : Defining multiple database ReceiveLocation with same db connection string

BizTalk does not allow us to create the  multiple receive location with Same URI, At design time it validate the URI and if it matches with any receive location then it throw Validation error.
But there may be some requirement where we might need multiple receive location with same URI like multiple database receive location with same database URI and each polling to different set of data (different stored procedure/package.)

So for this requirement, we can implement the multiple receive location with different pollingid. So at design/run time it won’t throw any validation error as the URI is different. The connectionstring with PollingID really doesn’t make any difference and it won’t create any issue while connecting database.

Ex . If I have two receive location polling database

ReceiveLocation1   ->   URI  ->  oracledb://goDEV1/?PolllingID=1111

ReceiveLocation2  ->    URI  ->   oracledb://goDEV1/?PolllingID=2222

ReceiveLocation3  ->    URI ->    oracledb://goDEV1/?PolllingID=3333

No comments:

Post a Comment