Set up the SCA Nodes sample extension
The extended SCA Nodes sample contains extra message flows, a message set,
and Java classes that are all related to the current account.
The extra message flows are in the SCANodesSample project under the following broker schemas:
- currentaccount.CurrentAccount
- currentaccount.CurrentAccountDebit
- currentaccount.CurrentAccountCredit
The extra Java code is in the SCANodesSampleJava project under the following Java package folders:
- sca.broker.sample.currentaccount.
CurrentAccount_CreditCurrentAccountBalance.java
- sca.broker.sample.currentaccount.
CurrentAccount_DebitCurrentAccountBalance.java
- sca.broker.sample.currentaccount.
CurrentAccount_RetrieveCurrentAccountBalance.java
- sca.broker.sample.currentaccount.
CurrentAccount_UpdateCurrentAccountBalance.java
The extra message set is: CurrentAccountMS
Complete the following steps:
- Add the CurrentAccount message flow
and the CurrentAccountMS message set
to the SCANodeSample.bar BAR file.
- Ensure that local queue manager, MB8QMGR, exists with listener port, 2414. If not, create it.
- Ensure that the following local queues exist. If not, create them:
- Ensure that you have associated a broker with the local queue manager, MB8QMGR.
If not, create a broker.
- Deploy the SCANodesSample.bar BAR file to the broker.
- A corresponding extended savings account Web service
application is implemented as a business process,
WIDSavingsAccountExtend.zip, in the SCANodesSample project.
Export this project interchange file from WebSphere Message
Broker to the local file system, and then import it into WebSphere Integration
Developer on the same local machine.
- Deploy the extended SavingsAccount application to WebSphere Process Server.
- Alternatively, deploy the enterprise archive file,
WIDSavingsAccountExtend.ear,
in the SCANodesSample project, directly to WebSphere Process Server.
The enterprise archive file must be exported from WebSphere Message Broker
to the local file system then
use either the administrative console or a script to install the application.
See the WebSphere Process Server information center for additional information.
- Restart WebSphere Process Server to start the listener port.
See the WebSphere Process Server information center for additional information.
- Export the CurrentAccount.txt file from WebSphere Message Broker
to a temporary folder on the file system:
- On Windows: This temporary folder is C:\tmp
- On Linux: This temporary folder is /tmp
This file contains the initial current account value of 100, which you can edit.
You have successfully set up the SCA Nodes sample extension.
Back to sample home