Using WebSphere MQ with WebSphere Application Server and the Liberty Profile

4,022 views

Published on

Presentation looking at the integration architecture between WebSphere MQ and WebSphere Application Server and the Liberty Profile.

Also details WebSphere Application Server properties which you must be aware of in order to use Multi-Instance Queue Managers with WebSphere Application Server.

Published in: Technology
1 Comment
6 Likes
Statistics
Notes
  • For eductaional tutorials on MQ:WAS interops, visit:

    http://pic.dhe.ibm.com/infocenter/prodconn/v1r0m0/index.jsp
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
No Downloads
Views
Total views
4,022
On SlideShare
0
From Embeds
0
Number of Embeds
32
Actions
Shares
0
Downloads
99
Comments
1
Likes
6
Embeds 0
No embeds

No notes for slide

Using WebSphere MQ with WebSphere Application Server and the Liberty Profile

  1. 1. © 2014 IBM Corporation AMC 1884 Tim Quigly – Software Engineer tquigly@uk.ibm.com Using WebSphere MQ with WebSphere Application Server and the Liberty Profile
  2. 2. Please Note IBM’s statements regarding its plans, directions, and intent are subject to change or withdrawal without notice at IBM’s sole discretion. Information regarding potential future products is intended to outline our general product direction and it should not be relied on in making a purchasing decision. The information mentioned regarding potential future products is not a commitment, promise, or legal obligation to deliver any material, code or functionality. Information about potential future products may not be incorporated into any contract. The development, release, and timing of any future features or functionality described for our products remains at our sole discretion. Performance is based on measurements and projections using standard IBM benchmarks in a controlled environment. The actual throughput or performance that any user will experience will vary depending upon many factors, including considerations such as the amount of multiprogramming in the user’s job stream, the I/O configuration, the storage configuration, and the workload processed. Therefore, no assurance can be given that an individual user will achieve results similar to those stated here.
  3. 3. 3 IBM® WebSphere® Application Server Using WebSphere MQ with WebSphere Application Server and the Liberty Profile Enterprise standard Java™ Application Server Highly scalable: single server up to massive network deployment Web gui and command line interface (wsadmin)
  4. 4. 4 Liberty Using WebSphere MQ with WebSphere Application Server and the Liberty Profile Lightweight, Developer focussed Eclipse based: server.xml and WAS Developer Tools wasdev.net Bundled in WebSphere Application Server version 8.5.5
  5. 5. 5 Version 6 Messaging Architecture Using WebSphere MQ with WebSphere Application Server and the Liberty Profile
  6. 6. 6 The solution now Picture courtesy: public domain Source: http://www.livescience.com/20404-gallery-sun-gods-goddesses.html Using WebSphere MQ with WebSphere Application Server and the Liberty Profile RA
  7. 7. 7 Introducing the IBM® WebSphere® MQ JMS Resource Adapter Using WebSphere MQ with WebSphere Application Server and the Liberty Profile wmq.jmsra.rar
  8. 8. 8 Why have a Resource Adapter? Java Enterprise Edition (Java EE) Java Connector Architecture (JCA) Using WebSphere MQ with WebSphere Application Server and the Liberty Profile
  9. 9. 9 Harnessing the Resource Adapter: WAS Using WebSphere MQ with WebSphere Application Server and the Liberty Profile Deployed inside WebSphere Application Server WAS is shipped with a validated RA RA can be a different version to the Queue Manager
  10. 10. 10 Harnessing the Resource Adapter: Liberty Supported from Liberty version 8.5.5 Download from IBM Fix Central – search 'Resource Adapter' Using WebSphere MQ with WebSphere Application Server and the Liberty Profile <server description="new server"> <!-- Enable features --> <featureManager> <feature>jsp-2.2</feature> <feature>localConnector-1.0</feature> <feature>ejbLite-3.1</feature> <feature>jmsMdb-3.1</feature> <feature>jndi-1.0</feature> <feature>wmqJmsClient-1.1</feature> </featureManager> <variable name="wmqJmsClient.rar.location" value="C:MY_RA_FOLDERwmq.jmsra.rar"/> </server>
  11. 11. 11 Managing the Resource Adapter Using WebSphere MQ with WebSphere Application Server and the Liberty Profile Client mode – no configuration necessary Bindings mode: WAS: set 'native library path' on Resource Adapter Liberty: <wmqJmsClient nativeLibraryPath="/opt/mqm/java/lib64"/> Updates to RA: WAS: WAS Fix Packs and iFixes Liberty: updated download from Fix Central
  12. 12. 12 Version 7 onwards Messaging Architecture Using WebSphere MQ with WebSphere Application Server and the Liberty Profile
  13. 13. 13 Practical benefits: standardised, well-versioned connections Photo courtesy: public domain Source: http://pixabay.com/en/industrial-mess-electric-power-69750/ Using WebSphere MQ with WebSphere Application Server and the Liberty Profile Photo courtesy: public domain Source: http://pixabay.com/en/communication-connection-113613/
  14. 14. 14 Bindings mode architecture Using WebSphere MQ with WebSphere Application Server and the Liberty Profile
  15. 15. 15 Practical benefits Using WebSphere MQ with WebSphere Application Server and the Liberty Profile Simplified maintenance Ease of migration Easier consumption of Multi-Version WMQ
  16. 16. 16 Multi-instance queue manager Using WebSphere MQ with WebSphere Application Server and the Liberty Profile
  17. 17. 17 Multi-instance queue manager Using WebSphere MQ with WebSphere Application Server and the Liberty Profile
  18. 18. 18 Multi-instance queue manager Using WebSphere MQ with WebSphere Application Server and the Liberty Profile
  19. 19. 19 High availability with Multi-Instance Queue Managers Using WebSphere MQ with WebSphere Application Server and the Liberty Profile WebSphere MQ Automatic Client Reconnect is NOT supported with Java EE Application Servers Configure WAS to automatically reconnect instead
  20. 20. 20 High availability with Multi-Instance Queue Managers with Activation Specifications Using WebSphere MQ with WebSphere Application Server and the Liberty Profile Connection Factory Connection Name List – host(port) for Active instance, host(port) for standby instance CCDT (Client Channel Definition Table) Resource Adapter Reconnection Retry Count – default is 5 Reconnection Retry Interval – default is 5 minutes Activation Specification Connection Name List – host(port) for Active instance, host(port) for standby instance Stop endpoint if message delivery fails Number of sequential delivery failures before suspending endpoint
  21. 21. 21 High availability with Multi-Instance Queue Managers with Listener Ports Using WebSphere MQ with WebSphere Application Server and the Liberty Profile Connection Factory Connection Name List – host(port) for Active instance, host(port) for standby instance CCDT (Client Channel Definition Table) Message Listener Service Maximum Retries (on listener port) – default is 0 Custom property: MAX.RECOVERY.RETRIES – default is 5 Custom property: RECOVERY.RETRY.INTERVAL – default is 60 seconds
  22. 22. 22 Product Connectivity Scenarios Information Centre Hands on, scenario based education for MQ:WAS and MQ:Liberty inter-operation Using WebSphere MQ with WebSphere Application Server and the Liberty Profile
  23. 23. 23 IBM Product Information Using WebSphere MQ with WebSphere Application Server and the Liberty Profile  See the new IBM Knowledge Center – No more infocenters from 2014!
  24. 24. 24 Summary WebSphere MQ JMS RA provides MQ messaging to WAS Easier maintenance and upgrading MuIti Instance Queue Managers – configure your Application Server Using WebSphere MQ with WebSphere Application Server and the Liberty Profile
  25. 25. Questions?
  26. 26. We Value Your Feedback Don’t forget to submit your Impact session and speaker feedback! Your feedback is very important to us – we use it to continually improve the conference. Use the Conference Mobile App or the online Agenda Builder to quickly submit your survey • Navigate to “Surveys” to see a view of surveys for sessions you’ve attended 26
  27. 27. Thank You
  28. 28. 28 Links: Product Connectivity Scenarios Information Centre http://pic.dhe.ibm.com/infocenter/prodconn/v1r0m0/index.jsp IBM Knowledge Centre: http://www-01.ibm.com/support/knowledgecenter/ 7.1 and 7.5 RA statement of support http://www-01.ibm.com/support/docview.wss?uid=swg27023129 Using WebSphere MQ automatic client reconnect with the WebSphere MQ classes for JMS: http://www-01.ibm.com/support/docview.wss?uid=swg21508357 Obtaining the WebSphere MQ Resource Adapter for the Liberty profile: http://www-01.ibm.com/support/docview.wss?uid=swg21633761 Introduction to WebSphere MQ Multi-Instance Queue Managers: http://www-01.ibm.com/support/docview.wss?uid=swg27017382&aid=1 Using WebSphere MQ with WebSphere Application Server and the Liberty Profile
  29. 29. 29 Links: Product Connectivity Scenarios Information Centre http://pic.dhe.ibm.com/infocenter/prodconn/v1r0m0/index.jsp Resource Adapter configuration properties: http://pic.dhe.ibm.com/infocenter/wasinfo/v8r5/index.jsp?topic=/com.ibm.websphere.ihs. Activation Specification Properties: http://pic.dhe.ibm.com/infocenter/wasinfo/v8r5/index.jsp?topic=%2Fcom.ibm.websphere. Listener Port Properties: http://pic.dhe.ibm.com/infocenter/wasinfo/v8r0/index.jsp?topic=%2Fcom.ibm.websphere. http://pic.dhe.ibm.com/infocenter/wasinfo/v8r5/index.jsp?topic= %2Fcom.ibm.websphere.nd.multiplatform.doc%2Fae%2Fumb_prolscp.html Using WebSphere MQ with WebSphere Application Server and the Liberty Profile
  30. 30. Legal Disclaimer • © IBM Corporation 2014. All Rights Reserved. • The information contained in this publication is provided for informational purposes only. While efforts were made to verify the completeness and accuracy of the information contained in this publication, it is provided AS IS without warranty of any kind, express or implied. In addition, this information is based on IBM’s current product plans and strategy, which are subject to change by IBM without notice. IBM shall not be responsible for any damages arising out of the use of, or otherwise related to, this publication or any other materials. Nothing contained in this publication is intended to, nor shall have the effect of, creating any warranties or representations from IBM or its suppliers or licensors, or altering the terms and conditions of the applicable license agreement governing the use of IBM software. • References in this presentation to IBM products, programs, or services do not imply that they will be available in all countries in which IBM operates. Product release dates and/or capabilities referenced in this presentation may change at any time at IBM’s sole discretion based on market opportunities or other factors, and are not intended to be a commitment to future product or feature availability in any way. Nothing contained in these materials is intended to, nor shall have the effect of, stating or implying that any activities undertaken by you will result in any specific sales, revenue growth or other results. • Java and all Java-based trademarks are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both.

×