Is Custom Send Pipeline Component the Right Choice

Home Page Forums BizTalk 2004 – BizTalk 2010 Is Custom Send Pipeline Component the Right Choice

Viewing 2 reply threads
  • Author
    Posts
    • #25227

      I’m new to BizTalk development.  I have a scenario where I need to call a stored procedure to log the sending of a file.  The message is processed by an orchestration and then sent to the message box.  I have a few send ports configured with filters looking for these messages to send to partners.  It feels like the right place to log the sending of this file to a database would be from a custom pipeline component on the send port. 

      So…

      1. Am I making a good choice to use a custom pipeline component to log the sending of a file to a database?
      2. When configuring the send pipeline, does this belong on the encode section?  I’m not real clear on the three choices (Pre-Assemble, Assemble, and Encode).  All I want to do is use infomation found in the context properties of the message and then call a stored procedure.

      Thanks for any advice that you might have.  I’ve read the msdn site and several folks blogs on this topic, but am not 100% sure that I’m heading in the right direction or if their might be a more appropriate solution.

    • #25229

      Hi,

       

         To answer your questions:

       

      1. Yes, a custom pipeline component is a good choice to do logging. Another alternative would be to use WCF SQL Adapter (to call your stored procedure), or if you can do away with your SP, then use MS Enterprise Library’s Logging Application.

       

      2. I would place this component in the Pre-Assemble stage of your Send pipeline.

       

         Also, you might want to check out the following blog about a custom Streaming message logger pipeline component (with downloadable solution):

      http://monishnagisetty.wordpress.com/2008/04/06/dbmessagelogger-a-streaming-message-logger-pipeline-component/

       

         Hope this helps,

       

         Daniel.

       

    • #50303
      biztalkgurus

        Empire of Lies by Raymond Khoury · 9781250210968

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