Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7904597
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T10:09:07+00:00 2026-06-03T10:09:07+00:00

I have a requirement where in i am receiving position based data in txt

  • 0

I have a requirement where in i am receiving position based data in txt format.

First 2 characters of the record helps me identify the message type.

No i have 40+ message type so based on the message type i need to pick up an xsd in the receive pipeline.

What would be the best way to pick up an xsd in an pipeline dynamically during runtime?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T10:09:09+00:00Added an answer on June 3, 2026 at 10:09 am

    Short Answer

    What you are after, is creating a custom flat file disassembler component, that hosts an instance of the builtin flat file component, but which also implements the IProbeMessage interface.

    This interface allows the BizTalk runtime to select between several components in the Disassemble stage of a Receive Pipeline.

    You could get away with using several versions of this custom pipeline, one for each of the available flat file .XSD schema,

    Unfortunately, this solution would quickly become a maintenance nightmare and a performance problem. Therefore, I would recommend to go one step further, and build a single such component that dynamically selects the flat file schema to use.

    For this, you need to build a plug-in system to drive the IProbeMessage implementation. Each instance of your plug’in would be configured to return the correct flat file .XSD schema and check in the input stream of the received message whether the format matches (probably based upon the first few starting bytes). Your custom pipeline component would then delegate its IProbeMessage implementation to the various plug’ins, in turn, until the message is recognized and the flat file .XSD schema is returned.

    Long Answer

    I could reproduce a long answer here, but please, take a look at the following series of articles I wrote on my blog. These posts walk you through the implementation of a custom flat file disassembler component that dynamically resolves which flat file .XSD schema to use at runtime, using the exact technique I just described above.

    Please, start here:

    • A Custom FlatFile Schema Resolver and Disassembler Pipeline Component
    • Adding Installation and Uninstallation Logic to a .Net Component
    • Custom Schema Resolve Disassembler Implementation
    • Editing Design-Time Properties with a Custom Modal Dialog
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In our project we have requirement that, after receiving sms message from third party
I have requirement in BizTalk 2010 where i am receiving txt file of size
I have requirement where the component is responsible for receiving a message and process
I have requirement as following like showing ABPeoplePickerNavigationController in tabbar based application. I researched
I have following requirement, I have C#/.Net console application, which refers to 'System.Data.Sqlite.dll' 'System.Data.Sqlite.dll'
I have requirement for an application which work in background only. When first time
I have a requirement to send some 100 bytes data over internet .My machine
I have requirement to access the folder from a another machine based on the
I have a requirement to develop an app that is capable of receiving pushed
I have an xml file i'm receiving and i want to format it using

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.