Custom Receive Communication Channel Overview

The incoming communication channel enables EC to receive messages. These messages can either be in XML or Flat File format.

When the channel accepts an incoming connection, the message is received based on the following protocol:

Custom Receive Communication Channel Overview

  1. Reading the first four bytes.
  2. Converting the first four bytes to an integer. This determines how many bytes the message contains and determines how many additional bytes are sent.
  3. Reading the message to determine the number of bytes received.

    To develop an incoming communication channel, you must first develop a sample channel. This sample channel is socket-based and listens for incoming connections on a certain port.

Communication Plug-in

EC Communication Plug-in allows your Business Engine (BE) to send and receive messages outside your organization. These messages can either be in XML or Flat file format. You can customize the EC Communication Plug-in to send and receive messages based on the requirements of your organization.

Use the following file and source codes when setting up the EC communication plug-in:

  • Necessary jar files :

    <MEC_ROOT>\ec.jar and <MEC_ROOT>\classes

  • Public EC Classes documented with Javadoc :

    <MEC_ROOT>\Documentation