Muokkaa

Jaa


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

  1. 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.

  2. Right-click Receive Ports, select New, and then select Request Response Receive Port.

  3. For the Name, enter Tutorial_2WayReceive.

  4. Select Apply to bind the port, and then select Receive Locations.

  5. Select New.

  6. For the Name, enter Tutorial_2WayReceive.

  7. In the Transport section, select Type, and then select MLLP from the drop-down list.

  8. 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.
  9. 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
  10. Select OK to save your changes.

  11. Enable the receive location you just created by right-clicking it, and then select Enable.

Next step

Step 5: Create a Send Port to Deliver Messages