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


Chapter 7 TIBCO ActiveMatrix BusinessWorks: Working with the UOM 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_PSFT_PUB_UOM_SYNC
Remember to create a queue with the same name in the TIBCO EMS server.
2.
JMSQueue: TEST_PSFT_PUB_UOM_SYNC
serviceType: PUBLISHER
3.
When you define a Service Operation, select Asynchronous - One Way as the Operation Type of the Service Operation.
 
4.
In PeopleTools Application Designer, update the PeopleCode of the SavePostChange method with the following code:

 
Local Message &msg;
Local Message &msg1;
Local Rowset &rowSet;
Local XmlDoc &xmlDoc;
Local string &xmlString;
Local XmlNode &rootNode;
Local XmlNode &actionNode;
&rowSet = GetLevel0();
&msg = CreateMessage(Message.UOM_SYNC);
&msg1 = CreateMessage(Message.UOM_SYNC);
&msg.CopyRowset(&rowSet);
&xmlString = &msg.GenXMLString();
&xmlDoc = CreateXmlDoc(&xmlString);
&rootNode = &xmlDoc.DocumentElement;
&actionNode = &rootNode.FindNode("MsgData/Transaction/PSCAMA/AUDIT_ACTN");
&actionNode.NodeValue = %Mode;
&xmlString = &xmlDoc.GenXmlString();
&msg1.LoadXMLString(&xmlString);
&msg1.Publish();

 

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