Step 4: Create a Receive Port for Accepting the Batch Message
In this step, you create and configure a port to receive the incoming batch.
You create a request-response (two-way) receive port, because the scenario includes the generation of application-accept acknowledgments for the individual messages in the batch. In two-way mode, the MLLP receive adapter will not accept a new incoming message until the receive pipeline has generated the acknowledgment (ACK) for the previous message.
Create the receive port for accepting the batch message
Open BizTalk Server Administration, expand BizTalk Server Administration, expand BizTalk Group, expand Applications, and then expand BizTalk Application 1.
Note
The BizTalk Server Administration Console can also be opened from within Visual Studio by clicking BizTalk Server Administration in the Tools menu.
Right-click Receive Ports, select New, and then select Request Response Receive Port.
For the Name, enter Tutorial_2WayReceive.
Select Apply to bind the port, and then select Receive Locations.
Select New.
For the Name, enter Tutorial_2WayReceive.
In the Transport section, select Type, and then select MLLP from the drop-down list.
Select Configure. In MLLP Transport Properties, configure the following, and then select OK.
Use this To do this Connect retry time (sec) New starting with BizTalk Server 2016.
The upper limit of time to wait before attempting to reconnect a dropped or closed connection. Applicable when Connection Initiated by is set to Local.
Default is 20 seconds.Connection initiated by New starting with BizTalk Server 2016.
Enter Local for the MLLP receive location to initiate the connection to a remote LOB server. This is the new option.
Enter Remote for the MLLP receive location to continue to listen for a connection from the remote LOB server. This is the backwards-compatible default option.
Default is Remote.Connection Name Enter 2Way. Host name Specific to BizTalk Server 2013 R2 and older versions.
Enter localhost.Local Host name New starting with BizTalk Server 2016.
Enter the DNS name or IP address of the local BizTalk Server. You can also enter localhost.Port Specific to BizTalk Server 2013 R2 and older versions.
Set to 21000.Local Port New starting with BizTalk Server 2016.
Enter the TCP port number for the LocalHost connection. Applicable only when Connection Initiated by is Remote.
Set to 21000.Remote Host New starting with BizTalk Server 2016.
Enter the DNS name or IP address of the remote LOB server. Applicable when Connection Initiated by is set to Local.Remote Port New starting with BizTalk Server 2016.
Enter the TCP port number for the remote host connection. Applicable when Connection Initiated by is set to Local.
Set to 21000.In the Receive Location properties, select the following:
Use this To do this Receive Handler Select BizTalkServerApplication from the drop-down list Receive Pipeline Select BTAHL72XPipelines.BTAHL72XReceivePipeline Send Pipeline Select BTAHL72XPipelines.BTAHL72XSendPipeline Select OK to save your changes.
Enable the receive location you just created by right-clicking it, and then select Enable.