WebSphere Message Broker Basics
The Bookstore message flow application is based around the scenario of an
online bookstore. The first message flow, Java_Create_Customer_Account,
uses Java in a JavaCompute node to create accounts in a DB2 database
table for new customers who have registered their details with the bookstore,
for example, their contact details and delivery address. The second message
flow, Java_Book_Order, uses Java in a JavaCompute node to process an
order that has been submitted by an online customer and create a response
message to confirm the order with a unique order number.
You do not need skills or experience in coding Java to be able to create the
message flow applications in this chapter because all the code is provided in the
Web material described in Appendix B, “Code” on page 319.
5.1.3 Before you start
The instructions in this chapter assume that you have run the Default
Configuration wizard to create the default configuration. However, you can create
your own broker domain and substitute the component names when following
For more information about the Default Configuration wizard, see 3.5, “Verifying
the installation” on page 35. For more information about administering
components, see “Starting the components” on page 213.
Ensure that the broker and the Configuration Manager are running.
Starting the broker and the Configuration Manager
You cannot start components from the Message Brokers Toolkit; you must start
them from the command line. Enter all commands in a WebSphere Message
Broker Command Console, which is a command window with additional
WebSphere Message Broker Environment settings.
To start the Command Console, click Start → Programs → IBM WebSphere
Message Brokers 6.0 → Command Console.
To start the broker, enter the following command in the Command Console,
where WBRK6_DEFAULT_BROKER is the name of the broker in the Default
To start the Configuration Manager, enter the following command in the
Command Console, where WBRK6_DEFAULT_CONFIGURATION_MANAGER
is the name of the Configuration Manager in the Default Configuration: