+ All Categories
Transcript
Page 1: Using WebSphere MQ with WebSphere Application Server and the Liberty Profile

© 2014 IBM Corporation

AMC 1884

Tim Quigly – Software [email protected]

Using WebSphere MQ with WebSphere Application Server and the Liberty Profile

Page 2: Using WebSphere MQ with WebSphere Application Server and the Liberty Profile

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.

Page 3: Using WebSphere MQ with WebSphere Application Server and the Liberty Profile

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)

Page 4: Using WebSphere MQ with WebSphere Application Server and the Liberty Profile

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

Page 5: Using WebSphere MQ with WebSphere Application Server and the Liberty Profile

5

Version 6 Messaging Architecture

Using WebSphere MQ with WebSphere Application Server and the Liberty Profile

Page 6: Using WebSphere MQ with WebSphere Application Server and the Liberty Profile

6

The solution now

Picture courtesy: public domainSource: http://www.livescience.com/20404-gallery-sun-gods-goddesses.html

Using WebSphere MQ with WebSphere Application Server and the Liberty Profile

RA

Page 7: Using WebSphere MQ with WebSphere Application Server and the Liberty Profile

7

Introducing the IBM® WebSphere® MQ JMS Resource Adapter

Using WebSphere MQ with WebSphere Application Server and the Liberty Profile

wmq.jmsra.rar

Page 8: Using WebSphere MQ with WebSphere Application Server and the Liberty Profile

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

Page 9: Using WebSphere MQ with WebSphere Application Server and the Liberty Profile

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

Page 10: Using WebSphere MQ with WebSphere Application Server and the Liberty Profile

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_FOLDER\wmq.jmsra.rar"/>

</server>

Page 11: Using WebSphere MQ with WebSphere Application Server and the Liberty Profile

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

Page 12: Using WebSphere MQ with WebSphere Application Server and the Liberty Profile

12

Version 7 onwards Messaging Architecture

Using WebSphere MQ with WebSphere Application Server and the Liberty Profile

Page 13: Using WebSphere MQ with WebSphere Application Server and the Liberty Profile

13

Practical benefits: standardised, well-versioned connections

Photo courtesy: public domainSource: http://pixabay.com/en/industrial-mess-electric-power-69750/

Using WebSphere MQ with WebSphere Application Server and the Liberty Profile

Photo courtesy: public domainSource: http://pixabay.com/en/communication-connection-113613/

Page 14: Using WebSphere MQ with WebSphere Application Server and the Liberty Profile

14

Bindings mode architecture

Using WebSphere MQ with WebSphere Application Server and the Liberty Profile

Page 15: Using WebSphere MQ with WebSphere Application Server and the Liberty Profile

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

Page 16: Using WebSphere MQ with WebSphere Application Server and the Liberty Profile

16

Multi-instance queue manager

Using WebSphere MQ with WebSphere Application Server and the Liberty Profile

Page 17: Using WebSphere MQ with WebSphere Application Server and the Liberty Profile

17

Multi-instance queue manager

Using WebSphere MQ with WebSphere Application Server and the Liberty Profile

Page 18: Using WebSphere MQ with WebSphere Application Server and the Liberty Profile

18

Multi-instance queue manager

Using WebSphere MQ with WebSphere Application Server and the Liberty Profile

Page 19: Using WebSphere MQ with WebSphere Application Server and the Liberty Profile

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

Page 20: Using WebSphere MQ with WebSphere Application Server and the Liberty Profile

20

High availability with Multi-Instance Queue Managerswith 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 5Reconnection Retry Interval – default is 5 minutes

Activation Specification

Connection Name List – host(port) for Active instance, host(port) for standby instanceStop endpoint if message delivery fails

Number of sequential delivery failures before suspending endpoint

Page 21: Using WebSphere MQ with WebSphere Application Server and the Liberty Profile

21

High availability with Multi-Instance Queue Managerswith 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 0Custom property: MAX.RECOVERY.RETRIES – default is 5

Custom property: RECOVERY.RETRY.INTERVAL – default is 60 seconds

Page 22: Using WebSphere MQ with WebSphere Application Server and the Liberty Profile

22

Product Connectivity Scenarios Information CentreHands on, scenario based education for MQ:WAS and MQ:Liberty inter-operation

Using WebSphere MQ with WebSphere Application Server and the Liberty Profile

Page 23: Using WebSphere MQ with WebSphere Application Server and the Liberty Profile

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!

Page 24: Using WebSphere MQ with WebSphere Application Server and the Liberty Profile

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

Page 25: Using WebSphere MQ with WebSphere Application Server and the Liberty Profile

Questions?

Page 26: Using WebSphere MQ with WebSphere Application Server and the Liberty Profile

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

Page 27: Using WebSphere MQ with WebSphere Application Server and the Liberty Profile

Thank You

Page 28: Using WebSphere MQ with WebSphere Application Server and the Liberty Profile

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

Page 29: Using WebSphere MQ with WebSphere Application Server and the Liberty Profile

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.doc/ihs/tihs_startadmserv.html

Activation Specification Properties:

http://pic.dhe.ibm.com/infocenter/wasinfo/v8r5/index.jsp?topic=%2Fcom.ibm.websphere.nd.multiplatform.doc%2Fae%2Fumj_pasm_advprops.html

Listener Port Properties:

http://pic.dhe.ibm.com/infocenter/wasinfo/v8r0/index.jsp?topic=%2Fcom.ibm.websphere.express.doc%2Finfo%2Fexp%2Fae%2Fumb_prolp.html

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

Page 30: Using WebSphere MQ with WebSphere Application Server and the Liberty Profile

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.


Top Related