Banking
  Education-Learning
  Energy-Utilities
  Financial-Markets
  Government
  Healthcare
  Information-Management
  Insurance
  Life-Sciences
  Lotus
  Manufacturing
  Media-Entertainment
  Rational
  Retail
  System-i
  Telecommunications
  Transportation
  Travel
  Websphere
  Wholesale
  Podcasts
  Solutions-Daily

Features


< Back

Testing WebSphere JMS Applications When Disconnected from WebSphere MQ
April 9, 2012 08:00 AM

By IBM developerWorks
IBM developerWorks
WebSphere
IBM Corporation

When testing JMS applications developed for WebSphere Application Server, the development team may not always have access to a WebSphere MQ environment. As a result, you may not be able to troubleshoot and identify defects until the application code has been deployed into an integrated environment. This article shows you how to configure your local WebSphere Test Environment to simulate a WebSphere MQ queue manager and its associated queues, so that you can identify and resolve defects earlier in the development life cycle.

In order to simulate an environment that resembles WebSphere MQ, you will be taking advantage of the WebSphere Application Server default messaging provider for V5, which uses an internal service integration bus (SIBus) that itself contains a messaging engine and associated queues. As a result, instead of defining Java Message Service (JMS) resources to access WebSphere MQ queues, you will define JMS resources to access queue destinations on the SIBus. This article shows you how to define these resources, and includes a sample application that demonstrates placing and retrieving messages to and from the defined queues.

These instructions assume that the local test environment for WebSphere Application Server V6 or later has been installed in your development environment. For users of WebSphere Application Server V7, the Java Software Development Kit (SDK) must be at least at V1.6.0 Java Technology Edition SR9 FP1 for WebSphere Application Server, or at the latest Java SDK version for WebSphere Application Server V7.

Continue reading this article and discover additional resources at IBM DeveloperWorks..

 





IBM developerWorks
WebSphere
IBM Corporation

IBM's developerWorks is a free online resource and technical center for developers and IT professionals. There are how-to articles and tutorials, as well as comprehensive knowledge paths, discussion forums, software downloads and code samples.

It is designed to help users master IBM products such as Rational, WebSphere, Information Management (DB2 Database), Lotus, Tivoli and AIX. Additional topics cover Cloud computing and Web development, plus open source development and cross-platform, open standards technologies including Java, Linux, XML, Ajax, HTML5, PHP, and SOA and web services.






IBM PartnerWorld
About Us Subscribe Editorial Register

© 2014 Simplex Knowledge Company. All Rights Reserved.   |   TERMS OF USE  |   PRIVACY POLICY