BizTalk 2004 Null Send Adapter Sample

Link. March 6, 2005. Comments [1]. Posted in: BizTalk
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.

Enjoy!



Thursday, May 11, 2006 7:40:53 AM (SA Pacific Standard Time, UTC-05:00)
Great job, Tomas. I was looking for something just like this, works great!
BA
Comments are closed.

About

Tomas Restrepo is co-founder of devdeo. His interests include .NET, Connected Systems, PowerShell and, lately, dynamic programming languages. More...

email: tomas@winterdom.com
msn: tomasr@passport.com
twitter: tomas_restrepo

Technorati Profile

devdeo logo

View my profile on LinkedIn

MVP logo

Syndicate

Ads


Links

Categories

Statistics

Total Posts: 1006
This Year: 76
This Month: 7
This Week: 0
Comments: 771

Blogroll

Post Archive

Other

Copyright © 2002-2008, Tomas Restrepo.

Powered by: newtelligence dasBlog 1.9.7174.0

Sign In