Integrating WebSphere MQ services with WebSphere Service Registry and Repository: Part 2: Visualising WebSphere MQ services

SOA encourages rapid change and thus requires careful management and governance. In this dynamic environment, the management of WebSphere MQ resources can be problematic without standards and tools for governance. Part 1 of this article series showed you how to use WebSphere Service Registry and Repository (WSRR) to catalog WebSphere MQ services. Part 2 shows you how to create a Business Space for populating a graphical view of MQ business objects and their dependent services in order to do impact analysis.

Share:

Fenglian Xu, Software Engineer, IBM

Photo of Fenglian XuDr. Fenglian Xu is a Software Engineer on the WebSphere Service Registry and Repository Development team at the IBM Software Lab in Hursley, United Kingdom. Previously, she worked on the WebSphere Enterprise Service Bus Development team. Her expertise includes IBM middleware product integration in service-oriented architectures, and she is also an IBM developerWorks Contributing Author. She earned a B.S. in Mathematics from Xian Jiaotong University in 1989, and a Ph.D. in Computer Science from the University of Southampton in 1998. You can contact Fenglian at xufengli@uk.ibm.com


developerWorks Contributing author
        level

Mark Phillips (m8philli@uk.ibm.com), Software Developer, IBM

Photo of Mark PhillipsMark Phillips has worked as a software developer with the WebSphere MQ Development Team at the IBM Hursley UK Lab since 1995. He currently works on the WebSphere MQ Technical Strategy Team, with responsibility for Web services, messaging clients, and APIs. You can contact Mark at m8philli@uk.ibm.com.



Peter Cullen (pete.cullen@uk.ibm.com), Test Architect, IBM

Photo of Peter CullenPeter Cullen is a Software Engineer and Test Architect on the WebSphere Service Registry and Repository (WSRR) Team at the IBM Software Development Lab in Hursley, United Kingdom. Prior to working with WSRR, Peter spent seven years working on the WebSphere MQ team, where he specialized in functional testing. You can contact Peter at pete.cullen@uk.ibm.com.



Bernard Z. Kufluk (bernard@uk.ibm.com), Advisory Software Engineer, IBM

Bernard Kufluk photoBernard Kufluk has been working as a Software Developer on the WebSphere Service Registry and Repository Core Development team for six years. During the past 12 years, he has worked on various IBM products including WebSphere Voice Application Access, WebSphere Voice Response, and Intelligent Notification Services. You can contact Bernard at bernard@uk.ibm.com.



12 October 2011

Also available in Chinese

Introduction

IBM® WebSphere® Service Registry and Repository (WSRR) can display a graphical view of the WebSphere MQ object model for impact analysis. This view has a number of WebSphere MQ applications, such as showing you what MQ resources are associated with an MQ queue manager, and how many services are dependent on those resources. This article shows you how to set up this visualisation using the WSRR Business Space.

Software requirements

To follow this article, you must install WebSphere Service Registry and Repository V7.5. The WebSphere MQ Parser is enabled by default if you are running the governance enablement profile, but will need to be enabled manually if you are using the basic profile. For more information, see Plug-in configuration for the WebSphere MQ integration feature in the WSRR Information center.

You can download the examples used in this article at the bottom of the article.

Creating an MQ Business Space

First you need to load the sample WSDL documents from the download file into WSRR, then create an MQ Business Space with several appropriate business widgets to explore the WebSphere MQ models. The following steps show you how to create an MQ Business Space:

  1. Open the Business Space UI from a Web browser with a URL, such as https://localhost:9443/BusinessSpace. Log in as an administrator.
  2. Create a new Business Space using a template with the information below. For Space style, accept the default:
    Figure 1. Create an MQ Business Space
    Create an MQ Business Space
  3. Edit the MQ Business Space: Select the Graph tab and click Edit Page:
    Figure 2. Edit Page link
    Edit Page link
  4. Configure the widgets layout in the widget space as shown below:
    Figure 3. Configure the layout of widgets
    Configure the layout of widgets
  5. Add widgets in the MQ Business Space by dragging and dropping a widget from the list of available widgets to the panel below the list. Then save the space:
    • Add the Service Registry Search widget on the top of the left panel as shown below. It lets you search for an object by either type or name.
    Figure 4. A search widget is added in the MQ Business Space
    A search widget is added in the MQ Business Space
    • Add the Service Registry Collection widget below the Search widget. It shows the search results.
    • Add the Service Registry Graphical Explorer below the Collection widget. It displays a graphical view of the selected object from the Collection widget.
    • Add the Service Registry Detail on the right panel. It displays object details including properties, relationships, and classifications.

    Here is the MQ Business Space with the four configured widgets:

    Figure 5. MQ Business Space with four widgets
    MQ Business Space with four widgets

Generating a graphical view for impact analysis with Business Space

After you have configured MQ Business Space with the appropriate widgets as shown in Figure 5, use the following steps to generate a graphical view of the MQ object models and queue manager so that you can perform impact analysis:

  1. Search for the objects in WSRR: Select type Service Port from the dropdown menu under All Listed Types:
    Figure 6. Search the Service Port instances from the Service Registry
    Search the Service Port instances from the Service Registry
  2. There are three service ports in WSRR:
    Figure 7. Service port search result from the Service Registry
    The Service port search result from the Service Registry
  3. Figure 8 shows you how to begin exploring the graphical view of a WSDL port and MQ business objects:
    Figure 8. Exploring
    Exploring
    • Click on RequestQuoteService_Wmq_Port from Figure 7 and the graphical view of the WSDL port is displayed.
    • Right click on INS.PREMIUM_QM and select Refocus to show all inbound objects to this queue manager.
  4. Figure 9 shows the result of impact analysis of the premium queue manager:
    Figure 9. The graphical view for the INS.PREMIUM.QM impact analysis
    The graphical view for the INS.PREMIUM.QM impact analysis
  5. Save your Business Space: Click Save as shown in Figure 6 above.

Impact analysis shows you what will be affected by a change to a particular artifact; any changes to the MQ queue manager may impact its related artifacts. In this example, if INS.PREMIUM.QM is taken offline for maintenance, then the RequestQuote and UpdatePremium services will be affected. If you make changes to MQ services, all consumers can be notified via JMS notification or e-mail.

Sharing the MQ Business workspace

After you have configured MQ Business Space and explored the graphical views, you can export the MQ Business Space to share it with other users or load it into a difference Business Space. Figure 10 below shows an example of this export:

  1. On the home page, click on Manage Spaces. A list of Business Spaces is displayed.
  2. Click on the Actions associated with the MQ Business Space and select the Export menu. You will be prompted to browse a directory to save the MQ Business Space into a zip file:
    Figure 10. Export the MQ Business Space
    Export the MQ Business Space
    You can download the sample MQ Business Space for this article at the bottom of the page.
  3. As shown in Figure 10, you can import the MQ Business Space back to the Business Space to explore the MQ object model by clicking on Import Space. You can also save the MQ Business Space as a template by clicking on Save as template. You can then use the template to create a new MQ Business Space, instead of using one of the predefined templates.

Conclusion

This article has shown you how to use the WSRR Business Space UI to create an MQ Business Space and populate MQ business objects in a graphical view. The graphical view of a queue manager shows all inbound dependencies for impact analysis, and you can save an MQ Business Space and share it with other users.

Acknowledgements

The authors would like to thank Gary Chapman, Ian Heritage, Laura Olson, and Jerry L. Stevens of IBM for their technical reviews and their advice on the contents of this article.


Downloads

DescriptionNameSize
Sample WebSphere MQ WSDL filesMQServices.zip3KB
Sample MQ Business SpaceMQBusinessSpace.zip16KB

Resources

Comments

developerWorks: Sign in

Required fields are indicated with an asterisk (*).


Need an IBM ID?
Forgot your IBM ID?


Forgot your password?
Change your password

By clicking Submit, you agree to the developerWorks terms of use.

 


The first time you sign into developerWorks, a profile is created for you. Information in your profile (your name, country/region, and company name) is displayed to the public and will accompany any content you post, unless you opt to hide your company name. You may update your IBM account at any time.

All information submitted is secure.

Choose your display name



The first time you sign in to developerWorks, a profile is created for you, so you need to choose a display name. Your display name accompanies the content you post on developerWorks.

Please choose a display name between 3-31 characters. Your display name must be unique in the developerWorks community and should not be your email address for privacy reasons.

Required fields are indicated with an asterisk (*).

(Must be between 3 – 31 characters.)

By clicking Submit, you agree to the developerWorks terms of use.

 


All information submitted is secure.

Dig deeper into WebSphere on developerWorks


static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=WebSphere
ArticleID=764993
ArticleTitle=Integrating WebSphere MQ services with WebSphere Service Registry and Repository: Part 2: Visualising WebSphere MQ services
publish-date=10122011