locked
Biztalk File Recive Location Polling to 15 mins RRS feed

  • Question

  • Hi ,

    I have a Biztalk file recive location, i have to set the pollint interval of these receive locations to 15 mins.so in the advanced settings i have changed the polling interval to 900000ms but this is not actaully impacting.

    I have seen one article saying that

    if the receive folder is using a full Window receive location.  the file adapter primarily relies on file system notification to decide if it is the time to pick up a file instead of the specified polling interval.

    how can i achieve this by having a windows recive locations and file adapter for polling every 15 mins?

    Monday, April 13, 2015 7:39 AM

Answers

  • What you're asking for specifically is not possible.  When configured on a Windows or compatible location, the File Adapter will read any closed file immediately.

    This scenario is usually covered by a Windows Scheduled Task that copies files to the BizTalk Receive Location folder at the specified interval.

    Monday, April 13, 2015 1:54 PM
    Moderator
  • As suggested by John is a known behaviour of File Receive Locations as explained here

    -------------------------------------------------------------------------------------------------------------

    One BizTalk file receive location, there is an advanced setting option where file polling interval can be specified. The default value is 60000 ms. You may be surprised to find that a file dropped to the location gets picked up right away instead of waiting for the specified polling interval. This is a correct behavior if the receive folder is using a full Window receive location. This is because the file adapter primarily relies on file system notification to decide if it is the time to pick up a file instead of the specified polling interval.

    -------------------------------------------------------------------------------------------------------------

    You can use create a simple exe which enables a receive location for sometime and disable it afterwards.

    Programmatically Enable or Disable Receive Locations

    This exe can be scheduled using Windows Scheduler.


    Thanks,
    Prashant
    ----------------------------------------
    Please mark this post accordingly if it answers your query or is helpful.

    Monday, April 13, 2015 5:33 PM

All replies

  • What you're asking for specifically is not possible.  When configured on a Windows or compatible location, the File Adapter will read any closed file immediately.

    This scenario is usually covered by a Windows Scheduled Task that copies files to the BizTalk Receive Location folder at the specified interval.

    Monday, April 13, 2015 1:54 PM
    Moderator
  • The file adapter is part of the SDK, so you can take the code andmake a file adapter which behaves as you want.
    Monday, April 13, 2015 3:36 PM
  • As suggested by John is a known behaviour of File Receive Locations as explained here

    -------------------------------------------------------------------------------------------------------------

    One BizTalk file receive location, there is an advanced setting option where file polling interval can be specified. The default value is 60000 ms. You may be surprised to find that a file dropped to the location gets picked up right away instead of waiting for the specified polling interval. This is a correct behavior if the receive folder is using a full Window receive location. This is because the file adapter primarily relies on file system notification to decide if it is the time to pick up a file instead of the specified polling interval.

    -------------------------------------------------------------------------------------------------------------

    You can use create a simple exe which enables a receive location for sometime and disable it afterwards.

    Programmatically Enable or Disable Receive Locations

    This exe can be scheduled using Windows Scheduler.


    Thanks,
    Prashant
    ----------------------------------------
    Please mark this post accordingly if it answers your query or is helpful.

    Monday, April 13, 2015 5:33 PM