BAM Pipeline interceptor with Envelope debatching

Home Page Forums BizTalk 2004 – BizTalk 2010 BAM Pipeline interceptor with Envelope debatching

Viewing 1 reply thread
  • Author
    Posts
    • #20416

      I posted this on the microsoft newsgroup as well, but haven’t solved the problem yet so I thought I would try here.

      original post:  http://www.microsoft.com/communities/newsgroups/list/en-us/default.aspx?dg=microsoft.public.biztalk.general&mid=661db814-509e-4d67-8c16-0f3cb66dd965

      I’m receiving an xml message and using an envelope to de-batch it. 

      <?xml version=”1.0″ encoding=”UTF-8″?> 
      <BatchReport> 
      <ProcessID>200807081400</ProcessID> 
      <BatchID>183</BatchID> 
      <ObjectCount>4</ObjectCount> 
      <BatchStatus>PARTIAL_ROLLBACK</BatchStatus> 
      <Objects> <!– Note: this is the body xpath of the envelope, i’m expecting 
      a BAM row for each object in the list below –> 
      <Object> 
      <objectName>One</objectName> 
      <ProcessStatus>PROCESSED</ProcessStatus> 
      <RollbackIndicator>false</RollbackIndicator> 
      <NbrMembersReceived>10</NbrMembersReceived> 
      <NbrMembersSent>10</NbrMembersSent> 
      <NbrMemberErrors>0</NbrMemberErrors> 
      </Object> 
      <Object> 
      <objectName>Two</objectName> 
      <ProcessStatus>ROLLED_BACK</ProcessStatus> 
      <RollbackIndicator>true</RollbackIndicator> 
      <NbrMembersReceived>10</NbrMembersReceived> 
      <NbrMembersSent>10</NbrMembersSent> 
      <NbrMemberErrors>0</NbrMemberErrors> 
      </Object> 
      <Object> 
      <objectName>Three</objectName> 
      <ProcessStatus>PROCESSED</ProcessStatus> 
      <RollbackIndicator>false</RollbackIndicator> 
      <NbrMembersReceived>10</NbrMembersReceived> 
      <NbrMembersSent>10</NbrMembersSent> 
      <NbrMemberErrors>0</NbrMemberErrors> 
      </Object> 
      <Object> 
      <objectName>Four</objectName> 
      <ProcessStatus>PROCESSED</ProcessStatus> 
      <RollbackIndicator>false</RollbackIndicator> 
      <NbrMembersReceived>10</NbrMembersReceived> 
      <NbrMembersSent>10</NbrMembersSent> 
      <NbrMemberErrors>0</NbrMemberErrors> 
      </Object> 
      </Objects> 
      </BatchReport> 

      The debatching works correctly and I receive 4 outbound messages, one for 
      each object, using a file send port. 

      I’ve created a BAM Activity to represent the individual object records 
      within the “objects” envelope. I used the Tracking Profile Editor to create 
      and deploy a profile as well. I’m not using an orchestration, just attaching 
      the profile to the receive port using the TPE. 

      When I drop the xml file shown above into a file receive port. I get three 
      BAM activity records instead of the four I expect. 

      The first message in the batch with ObjectName=”One” never makes it into the 
      BAM tables. “Two”, “Three”, and “Four” make it into the BAM tables as 
      expected. 

      I can’t find much info on the BAM Pipeline interceptor, so I’m struggling to 
      troubleshoot this. 

      Any suggestions? 

      One responder to the thread on ms newsgroup was able to replicate the behavior i’m seeing as well.

    • #20877

       

      Hi,

      I am also experiencing the same behavior. I had a batch of 7 and only 5 were logged in BAM. The first 2 didn’t make it into BAM and there was nothing in the eventlog and also nothing the the FailedTrackingData table.

      Is this a bug?

      Kind Regards,

      Koen

      • #21978

        Have any of you guys been able to resolve this? I’m running into the same issue – please share [:D]

         

        Thanks!

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