Using Custom WCF Configurations

Neuron supports two ways of customizing Service Endpoints.

If you do not need behaviors but just need a custom binding you can use the Bindings tab under connection methods.

The format for the binding is straightforward. An example of such a binding follows:

  <binding name="netTcpMaxBinding"
   openTimeout="00:01:00" closeTimeout="00:01:00">
          <security mode="None">
          <readerQuotas maxDepth="32"
   maxNameTableCharCount="16384" />

Once the binding is added it will show up in the drop down on the General Tab in the Service Connector and Client Connector.

If you need behaviors and other advanced features you can use a custom configuration file. A custom configuration file is one that merely uses the Neuron interfaces (Neuron.Esb.EsbService.ITwoWayService, Neuron.Esb.EsbService.IOneWayService) in place of your service contracts and obeys conventions for the endpoint names that matches the endpoint names to the connector names.

Custom files are set up in the Service Endpoint's Binding tab. You still need to put a validly a formatted value in for url etc but the values will be overridden at runtime.

An example of a custom configuration is attached. This example is designed for the Service Connector and Client Connector to be split. The example is also set up to support a Request-Reply message pattern. In order to change to Datagram you replace "Two" with "One" in the name of the interface thus Neuron.Esb.EsbService.ITwoWayService would be replaced with Neuron.Esb.EsbService.IOneWayService


Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request


Please sign in to leave a comment.
Powered by Zendesk