Part 4: Adding new Adapters to ESB Itinerary

Posted: December 18, 2014  |  Categories: General Uncategorized
Tags:

Default itinerary comes with few Adapters as below.

1

What if you want a new Adapter (for example HTTP, WCF-NetTCP etc.)? Solution is to create ESB Adapter Provider.
1. Create a simple class library and add a reference to add reference to “Microsoft.Practices.ESB.Adapter” in BizTalk ESB Toolkit Installation Folder\Bin

2

  1. Create a class extending the “BaseAdapterProvider” as shown below.

public class HttpAdapterProvider : BaseAdapterProvider

{

public override string AdapterName

{

get

{

return “HTTP”;

}

}

}

3

3. Sign the assembly, GAC the DLL.
4. Open esb.config file in the BizTalk ESB Toolkit Installation Folder and under “adapterProviders” add new configuration detail like below

4

5. Restart Visual Studio. Now you should be able to see the new Adapter.

5

In the same way you can extend “WCFBaseAdapterProvider” and create WCF based Adapters like below.
public class WebHttpAdapterProvider : WCFBaseAdapterProvider
{
public override string AdapterName
{
get
{
return “WCF-WebHttp”;
}
}
}
You can see my other post or more details.

– Shiv

One Platform Operations, Monitoring and Analytics Software
BizTalk360

microsoft biztalk

Learn more

Over 500 customers across 30+ countries depend on BizTalk360

ServiceBus360

Azure service bus

Learn more

Start managing your Azure Service Bus namespaces in minutes

One Platform - Operations, Monitoring and Analytics Software
BizTalk360

microsoft biztalk

Learn more

Over 500 customers across 30+ countries depend on BizTalk360

One Platform - Operations, Monitoring and Analytics Software
ServiceBus360

Azure service bus

Learn more

Start managing your Azure Service Bus namespaces in minutes

Back to Top