Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved


Chapter 9 TIBCO ActiveMatrix BusinessWorks: Working with the Country Message : Preparing PeopleSoft Integration Broker

Preparing PeopleSoft Integration Broker
After setting up the example, you need to create an integration scenario between the adapter and PeopleSoft Integration Broker. For detailed procedures, see "Preparing PeopleSoft Application Messages" in TIBCO ActiveMatrix Adapter for PeopleSoft Configuration and Deployment.
In particular, follow these steps when you make the configuration:
1.
When you modify the integrationGateway.Properties file, set the queue for the test as:
ig.jms.Queue#=TEST.CLIENT
Remember to create a queue with the same name in the TIBCO EMS server.
2.
JMSQueue: TEST.CLIENT
serviceType: RPCCLIENT
3.
When you define a Service Operation, select Synchronous as the Operation Type of the Service Operation.

 
Local string &XML_STRING;
Local Message &request_MSG, &response_MSG;
Local Rowset &request_RS;
Local Rowset &response_RS;
Local Rowset &MSG_RS;
Local Record &REC;
&request_RS = GetLevel0();
&request_MSG = CreateMessage(Message.COUNTRY_SYNC);
&request_MSG.CopyRowset(&request_RS);
/* publish request and wait for the response = &XML_STRING;*/
&response_MSG = &request_MSG.SyncRequest();
If (&response_MSG.ResponseStatus = 0) Then
&MSG_RS = &response_MSG.GetRowset();
&REC = &response_MSG.GetRowset().GetRow(1).GetRecord(Record.COUNTRY);
&XML_STRING = &response_MSG.GenXMLString();
End-If

 

Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved