Disabling the Send Port for a certain time

Home Page › Forums › BizTalk 2004 – BizTalk 2010 › Disabling the Send Port for a certain time

Viewing 1 reply thread
  • Author
    Posts
    • #18549

      We have  app where we receive messages from other applications
      via HTTP and the messages are processed and sent to a db via a
      send port.
      Now the DBAs have requested that messages be not sent at a certain
      time of a  day because they want maintainence jobs running on the DB.

      We cannot ask the sending applications to stop sending at this time.

      DBAs are saying now they are doinga daily maintence run but eventualy
      it would happend only once weekly(ona weekend day)

      What are the options available to achive this?
      Is this possible in BTS 2006?

      Regards,
      Oxon Meyers

    • #18552

       You could use WMI to stop the send port at a particular time and then start it up after your maintanence window.  You could do this as a scheduled task and reach out to some .Net code or script.

       Here is a link to some info about wmi scripting.  In your case you would want to use the ROOT.MicrosoftBizTalkServer.MSBTS_SendPort.cs class.  Also ensure that you want to keep the Send Port enlisted.  Enlisted ensures that a subscription still exists in the database.  That way then you start the send port up, all “queued” up messages will be resumed.

      http://kentweare.blogspot.com/2007/11/wmi-scripting-for-biztalk-operations.html

Viewing 1 reply thread
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.