Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| docs:3500:0400 [2023/04/05 06:38] – [Adding custom channels] sean | docs:3500:0400 [2025/06/12 04:00] (current) – Change to AwareIM aware_support3 | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| ====== Adding custom channels ====== | ====== Adding custom channels ====== | ||
| - | Communication between external entities, such as other software systems and hardware devices (which are modeled in //**Aware IM**// as intelligent business objects) and //**Aware IM**// is performed through // | + | Communication between external entities, such as other software systems and hardware devices (which are modeled in //**AwareIM**// as intelligent business objects) and //**AwareIM**// is performed through // |
| - | From //**Aware IM**// point of view there are only two types of messages – //service requests// and // | + | From //**AwareIM**// point of view there are only two types of messages – //service requests// and // |
| - | A notification, | + | A notification, |
| - | A channel therefore must translate the service request or notification message that is sent by //**Aware IM**// to the external party into whatever format the external party understands. Similarly a channel has to translate a message sent by the external party into the service request or notification message that can be understood by //**Aware IM**//. | + | A channel therefore must translate the service request or notification message that is sent by //**AwareIM**// to the external party into whatever format the external party understands. Similarly a channel has to translate a message sent by the external party into the service request or notification message that can be understood by //**AwareIM**//. |
| - | Note that if an external party is sending service requests to //**Aware IM**// it must first log into //**Aware IM**// as a particular user (an intelligent business object representing the external party must be a member of the SystemUsers business object group), otherwise the service request will be sent on behalf of a “guest” user. Sending notifications to //**Aware IM,**// on the other hand, does not require logging in. | + | Note that if an external party is sending service requests to //**AwareIM**// it must first log into //**AwareIM**// as a particular user (an intelligent business object representing the external party must be a member of the SystemUsers business object group), otherwise the service request will be sent on behalf of a “guest” user. Sending notifications to //**AwareIM,**// on the other hand, does not require logging in. |
| - | There are a number of predefined channels that //**Aware IM**// comes with, such as the E-mail channel, the SOAP channel and others (see the “Defining Intelligent Business Objects” section in the “Aware IM User Guide”). If your application connects to external software systems or hardware using protocols that are not supported by //**Aware IM**// out-of-the-box, | + | There are a number of predefined channels that //**AwareIM**// comes with, such as the E-mail channel, the SOAP channel and others (see the “Defining Intelligent Business Objects” section in the “AwareIM |
| - | The following section describes what is involved in adding a new custom channel to //**Aware IM**//. | + | The following section describes what is involved in adding a new custom channel to //**AwareIM**//. |
| - | To add a new custom channel to //**Aware IM**// follow the steps below: | + | To add a new custom channel to //**AwareIM**// follow the steps below: |
| - | - Write the code for the component that will handle communication between //**Aware IM**// and your software system or a hardware device (see section 4.1 for details) | + | - Write the code for the component that will handle communication between //**AwareIM**// and your software system or a hardware device (see section 4.1 for details) |
| - Write the code for the component that describes the capabilities of the new channel – this component must implement the IChannelType interface (see section 4.1.2 for details). | - Write the code for the component that describes the capabilities of the new channel – this component must implement the IChannelType interface (see section 4.1.2 for details). | ||
| - If your channel has properties that need to be controlled via the user interface in the Configuration Tool, write the code for the component that implements this user interface (see section 4.3 for details). | - If your channel has properties that need to be controlled via the user interface in the Configuration Tool, write the code for the component that implements this user interface (see section 4.3 for details). | ||
| - Compile the source code of your components and package them in a jar file(s). Make sure that the jar file is referenced in the CLASSPATH (see section 2) | - Compile the source code of your components and package them in a jar file(s). Make sure that the jar file is referenced in the CLASSPATH (see section 2) | ||
| - | - Add the definition of the new channel to the BASServer.props file located in the BIN directory of your //**Aware IM**// installation. You have to add a line that provides the fully qualified name of the component that you wrote in step 2. The name of the property must start with the ChannelType prefix and the value is the fully qualified name of the component. For example:< | + | - Add the definition of the new channel to the BASServer.props file located in the BIN directory of your //**AwareIM**// installation. You have to add a line that provides the fully qualified name of the component that you wrote in step 2. The name of the property must start with the ChannelType prefix and the value is the fully qualified name of the component. For example:< |
| - | If everything has been done correctly the name of the new channel must appear in the list of channels available for intelligent business objects in the Intelligence tab of the Business Object Property Editor (see “Defining Intelligent Business Objects” section in the “Aware IM User Guide”) | + | If everything has been done correctly the name of the new channel must appear in the list of channels available for intelligent business objects in the Intelligence tab of the Business Object Property Editor (see [[docs: |
| {{simplenavi>: | {{simplenavi>: | ||