locked
Throttling Messages Per Orchestration RRS feed

  • Question

  •  

    Hello,

     

    i am trying to throttle message per orchestration according to http://msdn.microsoft.com/en-us/library/aa578610.aspx but when i modify btsntsvc.exe.config, my host does not start and log this error on the event log:

     

    Type de l'événement : Erreur
    Source de l'événement : BizTalk Server 2006
    Catégorie de l'événement : BizTalk Server 2006
    ID de l'événement : 5410
    Date :  2008-10-15
    Heure :  17:10:38
    Utilisateur : N/A
    Ordinateur : LGSP-MLESSARD
    Description :
    A failure occurred when executing a Windows service request.
     
     Service request: Start
     
     BizTalk host name: BizTalkServerApplication
     Windows service name: BTSSvc$BizTalkServerApplication
     
     Additional error information:
     Error code: 0xc0c0153a
     Error source: BizTalk Server 2006
     Error description: A BizTalk subservice has failed while executing a service request.
     
     Subservice: Tracking
     Service request: Start
     
     Additional error information:
     Error code: 0x80131534
     Error source: System.Data
     Error description: Une exception a été levée par l'initialiseur de type pour 'System.Data.SqlClient.SqlConnection'. 

    Pour plus d'informations, consultez le centre Aide et support à l'adresse http://go.microsoft.com/fwlink/events.asp.


     

    I suppose that's because the <application> section is not recognized in the btsntsvc.exe.config.  What do i miss?

     

    Thank you!

    Thursday, October 16, 2008 12:41 PM

Answers

  • It would appear that the MSDN article is incorrect:

    Using Reflector, it might look like this:

     

    <configuration>
        <xlangs>
                <Configuration>
                            <Throttling PauseAt="100" ResumeAt="50" />
                </Configuration>
        </xlangs>
    </configuration>
    Thursday, October 16, 2008 9:55 PM
    Answerer

All replies

  • It would appear that the MSDN article is incorrect:

    Using Reflector, it might look like this:

     

    <configuration>
        <xlangs>
                <Configuration>
                            <Throttling PauseAt="100" ResumeAt="50" />
                </Configuration>
        </xlangs>
    </configuration>
    Thursday, October 16, 2008 9:55 PM
    Answerer
  • Thanks Greg, it's working.  Of course, i had to provide the configSections to handle the xlangs section:

     

    <configSections>
      <section name="xlangs" type="Microsoft.XLANGs.BizTalk.CrossProcess.XmlSerializationConfigurationSectionHandler, Microsoft.XLANGs.BizTalk.CrossProcess" />
    </configSections>

     

    Bad news is that i don't think that this throttling mecanism is working; i have a dummy orchestrations that is just waiting for 5 seconds; if i put <Throttling PauseAt="8" ResumeAt="5" /> and i drop 30 messages, i see the 30 orchestrations running and 5 seconds later, they are all done.  I tought i would see a maximum of 8 running at the same time.  And yes, i changed the fattributes column to 1 for my host in the BiztalkMsgBox and i restarted the host.  I will try to fin another solution.

     

    Maybe it would be helpful for all of us to know where you have found this information using Reflector.

     

    Thank you again!

    Friday, October 17, 2008 12:21 PM
  • The configuration element structure can be found in Microsoft.XLANGs.BizTalk.CrossProcess.XmlSerializationConfigurationSectionHandler

    Friday, October 17, 2008 7:17 PM
    Answerer