In E-Commerce setting, systems often produce and consume XML messages. For this project, we will use JBoss App Server as message mediator and simulate producing and consuming XML message scenario with two simple java programs.
Message_Producer.java simulates Message Producer by sending XML message (same XML file as in Project 2) to JBoss Message Queue.
Message_Consumer.java simulates Message Consumer. This program retrieves the XML message from JBoss Message Queue, processes it by extracting the titles (rss/channel/item/title) from this XML message and outputs these titles. In the XML processing part, you are free to use any libraries and XML related techniques.
Last Update: March 7, 2010
Xibin Gao
(xgao2@ncsu.edu)