Creating channel connections

Once an application server has been specified, channel connections can be included in the environment file.
A channel is an abstract integration endpoint that uses adapters to represent the Network Transport Layer. It uses a Send-Receive interface in order to send and receive messages. Channels are configured and bound to physical communication addresses through connections. Before a connection can be made, its equivalent channel must exist. Channels can be created in the Integration layer of NexJ Studio. The following channel connections are available:
File Connection
Allows you to send and receive files from a set of directories.
HTTP Connection
Allows you to send and receive messages through an HTTP channel as a client or server.
Mail Connection
Allows you to send and receive email messages from a mail server.
Message Queue Connection
Allows you to send and receive messages between client applications using JMS.
Object Queue Connection
Allows you to send and receive messages between internal applications.
TCP Connection
Allows you to send and receive messages through a TCP channel as a client or server.
UDP Connection
Allows you to send and receive messages through a UDP channel as a client or server.

Channel connections can be added to an environment in any order. The number of connections that can be added is limited only by the number of available channels. Refer to the NexJ Framework Metadata Reference for detailed information on the elements and attributes of channel connections.

To create a new channel connection in NexJ Studio:

  1. Open the environment or connections file to which you want to add a channel connection.
    The file opens in the editor window.
  2. In the editor window, click the Channel Connections tab.
  3. In the Channel Connections area, click the Select button .
    The Select Channel Connections dialog opens.
  4. In the left-hand column, select the type of channel connection you would like to create and click Add.
    The selected channel connection is added to the right-hand column.
  5. Click OK to close the Select Channel Connections dialog.
The channel connection you specified is now listed in the Channel Connections area. When you select a channel connection from the list, its configuration options are displayed underneath.
For a list of required channel connections and sample configurations for NexJ CRM, see Channel connection settings.