I've just uploaded to my site a new BizTalk 2004 sample adapter called the "NullSendAdapter", because it basically does nothing at all with the messages it receives except completely ignoring them. While fairly useless, in general, it is a simple implementation of a basic Sinchronous Send Adapter, and can be useful in cases where you want to basically ignore some messages coming into the MsgBox without leaving the usual no-subscription-found errors in the event log.

To install the sample adapter, follow these simple steps:

  1. Open the NullAdapter.reg file in notepad and modify the paths to the adapter assembly so that they point to the correct location on your machine.
  2. Use regedit to merge the registration file into you registry
  3. Run "installutil.exe Winterdom.BizTalk.Adapters.NullAdapter.dll" to create the adapter's event log source.
  4. Use the BizTalk Server Administration Console to register the adapter with BizTalk

One useful thing in the adapter, for traceability purposes is that when you define a new send port with it, you can configure in the adapter properties whether to log messages. If the property is set to True, then the adapter will log an entry into the machine's application event log for each message it sends into oblivion.


Tomas Restrepo

Software developer located in Colombia.