Configuring Private Processes with TIBCO BusinessWorks
To define a TIBCO BusinessWorks private process to interact with BusinessConnect Container Edition requires the following resources:
- BusinessConnect Container Edition Connection (BCServerConfig) — a shared resource that connects to the BusinessConnect Container Edition configuration store for the settings in TIBCO BusinessConnect Container Edition - RosettaNet Protocol.
- Activities to handle outbound and inbound BusinessConnect Container Edition messages.
Configuring BCServerConfig Resource
In order for your private process to communicate with your BusinessConnect Container Edition server, you must include exactly one (1) BCServerConfig resource in the root project view.
Follow the instructions below to configure the BCServerConfig resource:
- In TIBCO Studio, click Palettes in the menu bar and select Browse....
- Click the BusinessConnect Server Access tab.
- Select the JDBC driver you will use to communicate with the BusinessConnect Container Edition configuration store in the JDBC Driver drop-down list.
- Type the URL for the BusinessConnect configuration store in the JDBC URL field.
- Type the configuration store username and password in the DB User and DB Password fields.
- Click the Apply button.
- Click the Configuration tab.
Note that the Update Transport Settings checkbox is selected. By default, the resource synchronizes its JMS settings with the settings in the BusinessConnect configuration store.
- Click the Update from Configuration Store button.
- Select RosettaNet from the Protocol Name drop-down list.
- Click the Import Selected Business Protocol button. TIBCO Studio will now retrieve all installed operations in the BusinessConnect configuration store and place them in the BCSchemas project folder in the form of schemas.
- Click Apply. For more information on the BusinessConnect Connection (BCServerConfig) resource, see TIBCO ActiveMatrix BusinessWorks™ Plug-in for BusinessConnect™, User's Guide.
Configuring Send and Receive Activities
There are three BusinessConnect Container Edition Send activities for sending requests (or receipts), responses and miscellaneous messages. There are also three BusinessConnect Container Edition receive activities for receiving requests (or receipts), response, and miscellaneous messages.
When configuring a Send activity, you must ensure that all required fields are supplied to the activity before the Send activity can be executed. When a Send activity is executed, the resource sends a request of the selected operation to BusinessConnect.
Unlike Send activities, Receive activities are process starters. Therefore, there can be only one Receive activity in a process definition and the Receive activity acts to start the process. A process definition with the Receive start activity is invoked when BusinessConnect Container Edition receives a message from a trading partner and sends it to TIBCO BusinessWorks. You can configure the process definition to use the output of the Receive activity to perform different tasks, such as formulating a response message and invoking a Send activity.
For more information on configuring each of the Send and Receive activities, see TIBCO ActiveMatrix BusinessWorks Plug-in for BusinessConnect, User's Guide. You may also step through the Tutorial — TIBCO BusinessWorks Private Processes to learn how to configure a TIBCO BusinessWorks project to send and receive RosettaNet messages.
The following sub-sections give you a quick glance at the resources you need to configure different kinds of private processes.
Configuring InitiatorsIn order for your TIBCO BusinessWorks processes to initiate request-response or notify PIPs, you need the following resources:
- BCServerConfig — for connecting to your BusinessConnect Container Edition server.
- Send Request/Notifiction — for sending request or notify messages to trading partners.
- Receive Response (request-response only) — for receiving responses from trading partners.
- Receive Misc. Msg — for receiving any error messages from BusinessConnect
In order for your TIBCO BusinessWorks processes to receive request messages, you need the folowing resources:
- BCServerConfig — for connecting to your BusinessConnect Container Edition server.
- Receive Request/Notification — for receiving request messages from trading partners.
- Send Response — for sending response messages to BusinessConnect.
- Receive Misc. Msg — for receiving any advisory or error messages from BusinessConnect
In order for your TIBCO BusinessWorks processes to receive notify messages, you need the following resources: