Working with Process Center: Adapter inbound configuration
The following section describes how to use Process Center with applications built using adapters. You will look at the configuration of an inbound adapter module using the Process Application component of the Process Center.
When you are developing any inbound or outbound module, you can create that module by using either the embedded mode or standalone mode. If the module is standalone, then the adapter connector must be installed in the admin console of the Process Center server or the external Process Server.
- Switch to the Business Integration perspective of Integration Designer and import WebSphere Adapter.
- Run the External Service discovery for the Inbound adapter. Add an endpoint implementation.
- Once the inbound module is ready, switch to the Process Center perspective in Integration Designer.
- In the Process Apps tab, click on Create
New Process App as shown in Figure 1.
Figure 1. Creating a Process App in the Process Center perspective
- Provide a name for the Process App, such as
Test01PA, as shown in Figure 2.
Figure 2. Name of the Process App
- Select Open in workspace to open an application
in the workspace as shown in Figure 3.
Figure 3. Open created a Process App in the workspace
- Select the implementation and library for the process application
in the workspace as shown in Figure 4.
Figure 4. Implementation and library for the Process App
- Right-click on the created inbound module and select
Associate with Process Center, as shown in
Figure 5. Association of module and adapter with Process Center
- Select the process application from the drop down menu, and then
select the adapter and module to be associated with the process
application (Figure 6). Click Finish.
Figure 6. Association of module and adapter with Process Center
- After this step, it will take some time to deploy the module, with
"updating Process Center" shown at the bottom of the Integration
Designer screen. As a result of this, the module and adapter,
which were outside of the process application, will be moved into
the process application as shown in Figure 7.
Figure 7. Confirmation of successful association of module and adapter with Process Center
Now the inbound module has been deployed and started in Process Center, which can be observed in the Servers view.
The deployed inbound module is ready to poll events from the Enterprise Information System (EIS). In EIS, events such as create/update/delete/retrieve, which are specific to adapter, can be polled by the inbound module depending on the configuration.
Once the expected events are polled, make sure that the module is undeployed, or launch the admin console of Process Center and uninstall the respective module. For the undeployment of the inbound module, either disassociate the module, adapter, or both from Process Center.
A snapshot is the recorded state of library items within a process application or toolkit.
You can take a snapshot of process applications (which contains modules and adapters) or toolkit (which contains modules and adapters). When the requirement is to test the inbound or outbound module with the external Process Server that is connected to Process Center, then you need to create a snapshot and deploy it.
- Select the process application for which you want to create a
snapshot as shown in Figure 8.
Figure 8. Creating a snapshot by selecting Process Application
- Select the Create New Snapshot option as shown in
Figure 9. Creating the snapshot
- Provide a name for the Snapshot, such as
SnapTest01PA, as shown in Figure 10.
Figure 10. Name for the snapshot
- Select the Install option available with
"SnapTest01PA" as shown in Figure 11. This option is available
with the snapshot of the process application only and not with the toolkits.
Figure 11. Installing snapshot into the External Process Server
Choose the external process server as shown in Figure 12.
Figure 12. Selecting the External Process Server from the list
After this, a snapshot of the process application is deployed to the external Process Server and is started. Once the expected events are polled, make sure that the module is undeployed.
To delete an existing process application, follow these steps:
- Click on the Process Application to be deleted.
- Go to the Manage tab and Archive the selected process application.
- Go to the Snapshots tab and select Delete Process App.