Create a WCF custom channel by suppling binding and endpoint information programmatically
The IBM MQ custom channel for WCF is a transport level WCF channel. An endpoint and binding must be defined to use the custom channel, and these definitions can be done programmatically directly from the application code.
To configure and use the IBM MQ custom channel for WCF, which is a transport level WCF channel, a binding and an endpoint definition must be defined. The binding holds the configuration information for the channel, and the endpoint definition holds the connection details. For more information see Use the WCF samples. These definitions can be created in two ways:- Administratively, by providing the details in an application configuration file, as described in Create a WCF custom channel administratively by supplying binding and endpoint information in an application configuration file.
- Programmatically directly from the application code, as described in the following subtopics.
- Defining binding and endpoint information programmatically: SOAP/JMS interface
For the SOAP/JMS interface, we can define an endpoint and binding programmatically directly from the application code. - Defining binding and endpoint information programmatically: Non-SOAP/Non-JMS interface
For the Non-SOAP/Non-JMS interface, we can define an endpoint and binding programmatically directly from the application code.
Parent topic: Create and configure the IBM MQ custom channel for WCF