|
•
|
The preparation steps given under Procedure assume you know PeopleSoft procedures. For complete information about creating messages and making them available, see Integration Tools: PeopleSoft Integration Broker in PeopleSoft (Enterprise PeopleTools) Documentation Library.
|
|
Procedure lists the general setup tasks with PeopleTools if you want to use Integration Broker.
Configuration Procedure for Adapter Services lists the specific configuration details for each type of adapter service.
1.
|
Navigate to PeopleTools > Integration Broker > Configuration > Quick Configuration.
|
3.
|
Click the Ping Gateway button. Make sure a message that shows the gateway is active is displayed. See Figure 8 as an example.
|
•
|
HTTPTARGET connector: for IB Publication Service, IB Subscription Service and Request-Response Invocation service.
|
See Configuration Procedure for Adapter Services for detailed setup procedures for each service.
1.
|
Navigate to PeopleTools > Integration Broker > Configuration > Gateways.
|
4.
|
Click the Load Gateway Connectors button. All loaded Gateway Connectors are shown in the Connectors area, as shown in Figure 11.
|
6.
|
Click the Properties link for the TIBCOTARGET connector.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
tcp://TIBCO_EMS_server_name:port For example, tcp://192.168.70.86:7222
|
|
|
|
|
|
Encrypted TIBCO_EMS_server_password
For example, "{V1.1}ZuI38CaBQOM=" for password " admin"
|
|
|
|
8.
|
Click OK to save the properties.
|
9.
|
Click Save to save the gateway information.
|
When the gateway server boots, it reads and applies the properties in the integrationGateway.properties configuration file. Changes that you make to the file while the server is running have no immediate effect.
If you want to make changes to the integrationGateway.properties file while the server is running, you can log in to PIA and change the properties online. PeopleSoft Integration Broker reapplies the configuration settings—including the changes—without rebooting.
1.
|
Navigate to PeopleTools > Integration Broker > Configuration > Gateways.
|
7.
|
Click OK to save the properties.
|
8.
|
Click Save to save the integration gateway configuration.
|
Nodes represent any organization, application or system that will play a part in integrations. For example, nodes can represent customers, business units, suppliers, other trading partners, external or third-party software systems, and so on. Node definitions define the locations to or from which messages can be routed. Because an application can send messages to itself, a default local node definition that represents the application is delivered as part of the integration engine. Each PeopleSoft installation must have one, and only one, default local node.
1.
|
Navigate to PeopleTools > Integration Broker > Integration Setup > Nodes.
|
b.
|
Select PIA from the Node Type drop-down list.
|
4.
|
Click the Connectors tab and define the connectors.
|
c.
|
Click Ping Node. Make sure the result is success.
|
5.
|
Click Save. The specified node is created.
|
Message definitions provide the physical description of the data that is being sent, including fields, field types, and field lengths.
1.
|
Navigate to PeopleTools > Integration Broker > Integration Setup > Messages.
|
a.
|
Select Rowset from the Type drop-down list.
|
4.
|
Click the Message Definition tab and define the message.
|
b.
|
Select Enterprise Components from the Owner ID drop-down list.
|
c.
|
Click the Add Record To Root link to add a level 0 record to the root node.
|
See Figure 15 as an example. The
COUNTRY_SYNC message has
COUNTRY_TBL as its level 0 record and
EO_ADDR_FMT_TBL as the child level 1 record.
5.
|
Click Save. The specified message is created.
|
A message queue isolates different groups of service operations from each other. It needs to be created exclusively to handle messages meant for the adapter. You can also choose an existing message queue. If a message does not exist for a record from which data is to be exported, it needs to be created. Modifications to the existing messages might be required.
1.
|
Navigate to PeopleTools > Integration Broker > Integration Setup > Services.
|
b.
|
Select Enterprise Components from the Object Owner ID drop-down list.
|
b.
|
Select an Operation Type from the drop-down list.
|
6.
|
Click Save. The specified service is created.
|
A service operation definition consists of general information about an operation, such as its name, description, and so on. It also specifies an operation type, which determines how the operation is to be processed, synchronously or asynchronously. In addition, it contains routings which determine the direction, inbound or outbound, of the service operation. A service operation has one or more handlers, which contain and run the programming logic for sending or receiving the message, manipulating message content, and other functions.
•
|
Synchronous: for Message Request Response Invocation Service.
|
1.
|
Navigate to PeopleTools > Integration Broker > Integration Setup > Service Operations.
|
4.
|
Click the General tab and fill in the information:
|
a.
|
Enter Operation Definition.
|
b.
|
Select Enterprise Components from the Object Owner ID drop-down list.
|
5.
|
Click the Routings tab. Enter the Routing Name and click Add.
|
7.
|
Check the Selected checkbox of the routing you defined and want to use. Then click Activate Selected Routings. Make sure the selected routing is active. See Figure 18 as an example.
|
8.
|
Click Save. The specified service operation is created.
|
Routing definitions determine the sender and receiver of an integration. Routing definitions allow you to specify inbound and outbound transformations that enable you to transform data structures into those that the sending or receiving systems can understand.
1.
|
Navigate to PeopleTools > Integration Broker > Integration Setup > Routings.
|
3.
|
Enter Routing Name, and click Add.
|
4.
|
Click the Routing Definitions tab and define the routing:
|
f.
|
Select PeopleTools from the Object Owner ID drop-down list.
|
6.
|
Click Save. The specified routing is created.
|
The general tasks listed in Procedure are the same for all adapter services, but the values assigned to certain parameters will differ based on the adapter services configured. This section introduces the detailed information for each adapter service as follows:
ig.jms.Queue#: Use this property only if you want to use Queue as the JMS Connection Factory for the adapter. This value should match the Subscriber Subject under the SubscriberOptions tab in TIBCO Designer.
ig.jms.Topic#: Use this property only if you want to use Topic as the JMS Connection Factory for the adapter. This value should match the Subscriber Subject under the SubscriberOptions tab in TIBCO Designer.
PRIMARYURL: Specify the URL for the HTTP Listening Connector of the adapter. For example,
http://127.0.0.1:2002
JMSQueue: Use this property only if you want to use Queue as the JMS Connection Factory for the adapter. The value of JMSQueue in PIA should match the Subscriber Subject under the SubscriberOptions tab in TIBCO Designer.
JMSTopic: Use this property only if you want to use Topic as the JMS Connection Factory. The value of JMSTopic in PIA should match the Subscriber Subject under the SubscriberOptions tab in TIBCO Designer.
JMSUrl: Enter the URL for the TIBCO Enterprise Message Server (EMS). For example,
tcp://192.168.66.145:7222
Select Asynchronous - One Way from the Operation Type drop-down list.
2.
|
Select File > Open to open the Open Definition dialog, and then select Component from the Definition drop-down list. Type the component name, such as COUNTRY_TABLE in the Name field and then click Open.
|
Replace the %message_name% with the corresponding message name without any quotes.
For &NBR_RECORDS = 1 To &TRANSACTION.RecordCount /** Navigate to A Level 0 Record **/
&REC = &TRANSACTION.GetRecord(&NBR_RECORDS);
&NBR_KEYS = 0; /** Number of Record Keys Counter **/
&NBR_POPULATED_KEYS = 0; /** Number of Populated Record Keys **/
If &REC.Name <> "PSCAMA" Then /** Check Record Keys only if Message Record is not PSCAMA **/
For &NBR_FIELDS = 1 To &REC.FieldCount /** Navigate to Level 0 Record Fields **/
&FIELD = &REC.GetField(&NBR_FIELDS);
/** Count Number of Keys and Number of Populated Keys **/
&FIELD_VALUE = &FIELD.Value;
If All(&FIELD_VALUE) Or &FIELD_VALUE = &ZERO Then
&NBR_POPULATED_KEYS = &NBR_POPULATED_KEYS + 1;
&NBR_KEYS = &NBR_KEYS + 1;
&NBR_FIELDS = &REC.FieldCount
End-For; /** For &NBR_FIELDS = 1 To &REC.FieldCount **/
/** Number of Key Flags = Number of Key Flags Populated ==> All Keys Populated ==> Message Populated **/
If &NBR_KEYS = &NBR_POPULATED_KEYS Then
End-If; /** If &REC.Name <> "PSCAMA" Then **/
End-For; /** For &NBR_RECORDS = 1 To &TRANSACTION.RecordCount **/
End-For; /** For &NBR_TRANSACTIONS = 1 To &RS.RowCount; **/
/**************************************************************/
/** END: Check If Message Is Filled -- Check L0 Record Keys **/
/**************************************************************/
&MSG = CreateMessage(Message.
%message_name%);
If All(&PubNodeName) Then
&MSG.DoNotPubToNodeName = &PubNodeName;
&MSG.CopyRowsetDelta(GetLevel0());
If MessageFilled(&MSG) Then
ig.jms.Queue#: Use this property only if you want to use Queue as the JMS Connection Factory for the adapter. This value should match the IB Subscriber Subject under the SubscriberOptions tab in TIBCO Designer.
ig.jms.Topic#: Use this property only if you want to use Topic as the JMS Connection Factory for the adapter. This value should match the IB Subscriber Subject under the SubscriberOptions tab in TIBCO Designer.
See SubscriberOptions Tab for more details about configuring a connection factory for Message Subscription Service in TIBCO Designer.
PrimaryURL: Specify the URL for the HTTP listening connector of the adapter. For example,
http://127.0.0.1:2002
JMSFactory: QueueConnectionFactory or TopicConnectionFactory
depending on the Connection Factory type that you want to use.
See SubscriberOptions Tab for more details about configuring a connection factory for Message Subscription Service in TIBCO Designer.
JMSUrl: Enter the URL of the TIBCO Enterprise Message Server (EMS) server. For example,
tcp://192.168.66.145:7222
Select Asynchronous - One Way from the Operation Type drop-down list.
2.
|
Select File > Open to open the Open Definition dialog, and then select Message from the Definition drop-down list. Type the message name, such as CURRENCY_SYNC in the Name field and then click Open to open the Message Definition pane.
|
Replace the record_name with the corresponding message name without any quotes.
1.
|
Modify the web.xml file located in PS_HOME\webserv\peoplesoft\applications\peoplesoft\PSIGW \WEB-INF as following:
|
http://peoplesoft_server_name/PSIGW/JMSListeningConnectorAdministrator?Activity=START
http://peoplesoft_server_name/PSIGW/JMSListeningConnectorAdministrator?Activity=STOP
ig.jms.Queue#: Use this property only if you want to use Queue as the JMS Connection Factory for the adapter. This value should match the Subscriber Subject under the SubscriberOptions tab in TIBCO Designer.
ig.jms.Topic#: Use this property only if you want to use Topic as the JMS Connection Factory for the adapter. This value should match the Subscriber Subject under the SubscriberOptions tab in TIBCO Designer.
See SubscriberOptions Tab for more details about configuring a connection factory for Request-Response Invocation Service in TIBCO Designer.
PRIMARYURL: Specify the URL for the HTTP Listening Connector of the adapter. For example,
http://127.0.0.1:2002
JMSQueue: Use this property only if you want to use Queue as the JMS Connection Factory for the adapter. The value of JMSQueue in PIA should match the Subscriber Subject under the SubscriberOptions tab in TIBCO Designer.
JMSTopic: Use this property only if you want to use Topic as the JMS Connection Factory. The value of JMSTopic in PIA should match the Subscriber Subject under the SubscriberOptions tab in TIBCO Designer.
See SubscriberOptions Tab for more details about configuring a connection factory for Request-Response Invocation Service in TIBCO Designer.
JMSUrl: Enter the URL for the TIBCO Enterprise Message Server (EMS). For example,
tcp://192.168.66.145:7222
Select Synchronous from the Operation Type drop-down list. Configure the handler of the service operation in the Handlers tab.
2.
|
Select File > Open to open the Open Definition dialog, and then select Component from the Definition drop-down list. Type the component name, such as COUNTRY_TABLE in the Name field and then click Open.
|
Replace the service_operation_name with the corresponding message name without any quotes.
Besides the connector properties in Table 7, TIBCOTARGET Connector Properties, you need to add the properties in
Table 11, TIBCOTARGET Connector SSL Properties to the TIBCOTARGET connector. The table refers to the EMS server as "server" and the PeopleSoft server as "client".
Besides the properties described in Configure Integration Gateway Properties, you need to add the following SSL-specific properties to the specific queue or topic listener you defined in the JMS configuration section of
integrationGateway.properties.