Martijn's blog - E-Commerce, EAI, BizTalk and .NET


Pipeline components: checking to see if you're interested in processing a message

If you ever needed to see whether your component has to process a given message, try implementing the IProbeMessage interface. It gives you the message, you can analyze it and return a boolean value to indicate whether you're interested in processing the message. If you return false, the next component in the current stage will be executed in the normal manner. If you return true, your component will be executed by the messaging engine.


public bool Probe(IPipelineContext pc, IBaseMessage inMsg)
  // TODO: implement decision logic for the
  // message here
  return true;

Please note that the stage you will use the component in must be configured as FirstMatch, which in this version is only the Disassemble stage (see the documentation, the BizTalk 2004 documentation mus be installed for this to work and you have to copy the link and paste it in another window because of security constraints)

Update (2004/08/08): this interface has now been incorporated in my pipeline component wizard (just choose DisassemblingSerializer for the component stage), the pipeline component wizard can be retrieved here or here


  • Have you got an RSS feed? This is a high quality blog, keep it up =)

    By Anonymous Anonymous, at 12:55 AM  

  • Hi, hopefully your reader also supports atom feeds, as that's all I have for now. My Atom feed can be found here:

    By Blogger Martijn Hoogendoorn, at 8:15 AM  

  • And thanks for the compliment! I'll do my best..

    By Blogger Martijn Hoogendoorn, at 8:16 AM  

  • sometimes you can go to earn the mabinogi gold for your own life and you can also get a lot of happiness in the game if you play the game well. you can brush the cheap mabinogi to upgrade and then you are very strong. You think that you want to play the game well and then you can get the mabinogi money for your own. you can go to buy mabinogi gold alone and you can give some for your friends; it can make you very happy I think. As long as you play the game you can get the mabinogi online gold as the rewards in this game.

    By Anonymous Anonymous, at 1:36 AM  

Post a Comment

Links to this post:

Create a Link

<< Home