SlideShare una empresa de Scribd logo
1 de 49
Introduction to
OpenMQ
Linda Schneider
Technical Lead
Sun Microsystems, Inc.
Agenda:
• What is OpenMQ ?
  > Basic Concepts
  > Product Features
  > High Availability Architectures
• OpenMQ Roadmap
• Selected Customer Scenarios
• More information



            Copyright Sun Microsystems Inc. All Rights Reserved.   [2]
What is OpenMQ ?



 Copyright Sun Microsystems Inc. All Rights Reserved.   [3]
Open MQ Basics
• Allows heterogenous applications to reliability and
    asynchronously pass data between each other.
•   Open Source Java Message Service (JMS)
    implementation (+ additions)
•   Default Messaging Provider for Glassfish
•   Also can be used on its own for standalone JMS
    applications
•   Enterprise level quality (>8 years in development)
•   Open Source since JavaOne 2006
•   Also available in a supported product (SJSMQ)
             Copyright Sun Microsystems Inc. All Rights Reserved.   [4]
OpenMQ Information
• The open source version of Java MQ
    > Includes all features from Java MQ
•   Available from http://mq.dev.java.net
•   Developer and User discussion forums
•   Stable builds with product releases
•   Early access, promoted builds available
    > New features, and fixes
• Dual license support (GPL V2 and CDDL)

             Copyright Sun Microsystems Inc. All Rights Reserved.   [5]
OpenMQ Specifications:
• Java Message Service (JMS) 1.1 Specification, JSR
  914
• J2EE specification 1.3 or later
• Java Connector Architecture (JCA) for the openMQ
  resource adapter (JMSRA)




          Copyright Sun Microsystems Inc. All Rights Reserved.   [6]
Basic Concepts



Copyright Sun Microsystems Inc. All Rights Reserved.   [7]
What Is JMS ?
• A Java-based api for Message Oriented
  Middleware.
• It use the following concepts (among others)
  > Message Order is guaranteed
  > Level of reliability is determined when the message is
    sent
  > Transactions (grouping of messages to be sent or
    produced together) are supported
  > Format of the message is defined by the producer
  > Provides two styles of message delivery (point-to-point
    and publish-subscribe)
            Copyright Sun Microsystems Inc. All Rights Reserved.   [8]
How Does JMS Work?




      Copyright Sun Microsystems Inc. All Rights Reserved.   [9]
Messaging Models
• Java Message Service defines two messaging
  models:
  > Publish-subscribe (or pub-sub)
     – One-to-many messaging.
     – Every message goes to all interested consumers.
  > Point-to-point
     – One-to-one messaging.
     – A single message goes to only one consumer.




             Copyright Sun Microsystems Inc. All Rights Reserved.   [10]
Messaging Models (continued)




       Copyright Sun Microsystems Inc. All Rights Reserved.   [11]
What are the pieces of OpenMQ


 Broker               The server component of OpenMQ
                      which handles reliable delivery
 Client               Allows clients to connect to the
 implementations      OpenMQ Broker
 JMX api              Full administration Api for custom
                      applications
 Administration       Allows administrators to control
 Tools                OpenMQ



           Copyright Sun Microsystems Inc. All Rights Reserved.   [12]
OpenMQ Architecture




      Copyright Sun Microsystems Inc. All Rights Reserved.   [13]
(*)
        Product Features

* as of OpenMQ 4.3 (releasing 12/15/2008)




            Copyright Sun Microsystems Inc. All Rights Reserved.   [14]
Connectivity in OpenMQ
                                • JMS API
                                • C API
                                • Clients connect via
                                  TCP/TLS or SOAP /
                                  HTTP
                                • JCA Resource Adapter
                                  JMSRA. Also used w/
                                    > JMSJCA RA
                                    > Generic RA
                                • UMS
      Copyright Sun Microsystems Inc. All Rights Reserved.   [15]
Scaling in OpenMQ
• Support for 1000s of connections on a single broker
• Support for clusters of multiple brokers
• Message size limited only by operating system and
  storage capacity
• Support for multiple receivers on a queue
• Ability to set size and behavior limits on a
  destination to prevent memory issues
• No-acknowledge mode for performance when
  reliability is not an issue
• Support for message compression
           Copyright Sun Microsystems Inc. All Rights Reserved.   [16]
Deploying and Administering
• Administration tools
• JMX API
• Support for both file and JDBC-based message
  stores
• Dead Message Queue (DMQ)
• XML Validation
• Topic Wildcard Support



          Copyright Sun Microsystems Inc. All Rights Reserved.   [17]
Securing OpenMQ
• Authentication
  > Allows administrators to set up a user-name/password
    database to control access to the system
  > Supports use of JAAS for pluggable authentication
• Authorization
  > Allows administrators to control which users can access
    (produce or consume to) specific destinations
• SSL connection support
  > Provides encryption of data to and from the server


            Copyright Sun Microsystems Inc. All Rights Reserved.   [18]
Clustering OpenMQ – Definitions
• Broker Failover:
  > Manual – requires administrators intervention
  > Automatic – does not require intervetion
• High Availability Definitions:
  > Service Availability- support to allow applications to
    continue to operate (produce and consume messages)
    rapidly after a failure (Automatic failover)
  > Data Availability – data is available after a failure
• OpenMQ provides support for both service and data
  availability.
• Clients fail-over to other brokers in the cluster
            Copyright Sun Microsystems Inc. All Rights Reserved.   [19]
Clustering OpenMQ
• Standard clustering provides scaling and service
  availability
  > Allows multiple brokers to be connected together and
    operate
  > JMS semantics are preserved
  > Producers and consumers can attach to different brokers
  > If data is available, administrators can start a broker to
    dispatch the messages on another machine
• OpenMQ also provides additional clustering modes
  to provide multiple levels of data availability

            Copyright Sun Microsystems Inc. All Rights Reserved.   [20]
Clustering OpenMQ
There are currently three ways to get availability with
  OpenMQ:
• Standard Clustering
  > Provides service availability
• Sun Cluster Data Service for Java MQ
  > Provides data availability using a highly available file
    system.
• JDBC-based High Availability
  > Provides service and data availability by using a highly
    available database

              Copyright Sun Microsystems Inc. All Rights Reserved.   [21]
OpenMQ Features
Recent Additions:
 • Stomp Support examples
 • Extensive UMS Examples
 • Spring Examples
Planned near-term additions:
 • Visual VM support
 • Improved netbeans support
 • A swing and web based monitoring demo using JMX

          Copyright Sun Microsystems Inc. All Rights Reserved.   [22]
UMS: new for 4.3




 Copyright Sun Microsystems Inc. All Rights Reserved.   [23]
What is UMS ?




      Copyright Sun Microsystems Inc. All Rights Reserved.   [24]
What is UMS? (lower level)




        Copyright Sun Microsystems Inc. All Rights Reserved.   [25]
UMS – the 10k foot view
• Simple API
  >   6 messaging services (e.g. login, send, receive)
  >   Only 2 are required to produce or consume messages
  >   Services are request/reply
  >   Only supports text messages
• Runs on top of HTTP(s)
• Multiple clients share a single JMS Connection
  > Default is 100 per connection
• 2 style of queries are available:
  > Simple Messaging – for non-XML text messages
  > XML Messaging – for XML encoded messages
             Copyright Sun Microsystems Inc. All Rights Reserved.   [26]
UMS Interface Types
  • Simple Query String
    > POST /ums/simple?service=send&
       destination=simpleQ&domain=queue
       Send msg: Hello World!
  • XML Document

<SOAP-ENV:Envelope xmlns:SOAP-ENV=quot;http://schemas.xmlsoap.org/soap/
envelope/quot;>
       <SOAP-ENV:Header>
              <ums:MessageHeader xmlns:ums=quot;https://mq.dev.java.net/umsquot;
ums:id=quot;1.0quot; ums:version=quot;1.0quot;>
                    <ums:Service
                    ums:service=quot;sendquot;
                    ums:destination=quot;XMLmessagingQquot;
                    ums:domain=quot;queuequot;
                    ums:sid=quot;7-LTgxMDczMTczNQ== quot;/>
              </ums:MessageHeader>
       </SOAP-ENV:Header>
<SOAP-ENV:Body><bodyvalue>Hello, XML World!</bodyvalue></SOAP-ENV:Body>
</SOAP-ENV:Envelope>

                Copyright Sun Microsystems Inc. All Rights Reserved.   [27]
Availability Architectures



     Copyright Sun Microsystems Inc. All Rights Reserved.   [28]
Standard Clusters - Architecture




       Copyright Sun Microsystems Inc. All Rights Reserved.   [29]
Standard Cluster – Key Points
• Provides service availability
• Delivery of messages is transparent to client and
  administrator
• A new broker can be manually started on the same
  data if a failure occurs.




          Copyright Sun Microsystems Inc. All Rights Reserved.   [30]
Using SunCluster – Single Broker

        Producer Q1                      Consumer Q1


                                                                To the JMS
                              Broker                            clients, the
                                                              active/standby
                                                              configuration is
                                                                   hidden
                    Active             Standby
                Sun Cluster Data Service
             Local or SAN Storage


       Copyright Sun Microsystems Inc. All Rights Reserved.                  [31]
Using Sun Cluster – Three Brokers

              Producer Q1                                Producer Q2



 JDBC or
 File Store

                    Broker A                               Broker B
                     Master

                                      Broker C




                 Consumer Q1                       Consumer Q2


                 Copyright Sun Microsystems Inc. All Rights Reserved.   [32]
SunCluster – Key Points
• Provides availability and monitoring
• A new broker is automatically started to take over
  the existing data from the unavailable one
• Relies on a shared storage device (SAN)
• Can be support for distances over 200k




           Copyright Sun Microsystems Inc. All Rights Reserved.   [33]
JDBC High Availability - Architecture




       Copyright Sun Microsystems Inc. All Rights Reserved.   [34]
JDBC High Availability – Key Points
• Simple to configure and set up
• How it works:
  >   Keeps all information in a single accessible location
  >   Stores data by broker
  >   Allows another broker to “takeover” the messages
  >   Helps prevent “split-brain” through database heartbeats
• Supported available databases
  > Oracle 9i,10g (RAC or replicated with Sun Cluster)
  > HADB
  > MySQL Cluster

             Copyright Sun Microsystems Inc. All Rights Reserved.   [35]
OpenMQ Clustering – Comparison
   Feature                                             Cluster   SunCluster              JDBC HA

   Data Availability                                     No             Yes                  Yes
   Active/Active                                        N/A             No                   Yes
   Handles Remote sites                                 Yes             Yes                  No [1]
   HA Filesystem                                         No             Yes                  No
   Requires HA Database                                  No              No                  Yes
   Scales to large # of brokers                         Yes             Yes                  Yes
   Performance                                          High            High                 Low
   Complexity                                           Low             High               Low [4]
   Takeover speed                                       N/A          Medium                Fast [3]
   When Available                                       Now             Now                  Now
   Minimum # of Brokers                                  2                2                    2
   Redundant Network                                     No             No[2]               No [2]
   [1] May require Sun Cluster                                   [2] May be required by supporting software
   [3] Fast for broker take-over. DB recovery may be             [4] medium if cannot use existing JDBC
   slow                                                          infrastructure


                 Copyright Sun Microsystems Inc. All Rights Reserved.                                         [36]
OpenMQ Roadmap



 Copyright Sun Microsystems Inc. All Rights Reserved.   [37]
Crane (MQ 4.4)
• Targeted Spring 2009
• Features in evaluation for Crane:
  > Journaling (storage of message history)
  > Connected Clusters
  > JMX support via UMX
  > Ability to Embed the broker in a standalone application
  > Performance improvements
  > Support for grouping message delivery (e.g. Units of
    Work)
  > Web-based administration
  > Scalable destinations
  > JMS Bridge
            Copyright Sun Microsystems Inc. All Rights Reserved.   [38]
Phoenix (MQ 4.5)
•Targeted late 2009/early 2010

•Phoenix is too far out to have a list of possible features
but we are thinking about:
•   Features pushed forward from Crane
•   Encrypted Destinations
•   XML Content based selectors
•   Improved MySQL support
•   Replay of Journaled Messages



            Copyright Sun Microsystems Inc. All Rights Reserved.   [39]
Selected Customer
  Architectures


 Copyright Sun Microsystems Inc. All Rights Reserved.   [40]
Customer 1:




    Copyright Sun Microsystems Inc. All Rights Reserved.   [41]
Customer 2:




    Copyright Sun Microsystems Inc. All Rights Reserved.   [42]
Customer 3:




    Copyright Sun Microsystems Inc. All Rights Reserved.   [43]
Customer 4:




    Copyright Sun Microsystems Inc. All Rights Reserved.   [44]
Customer 5:




    Copyright Sun Microsystems Inc. All Rights Reserved.   [45]
More Information



Copyright Sun Microsystems Inc. All Rights Reserved.   [46]
OpenMQ -- More Information
• Visit the product webpage
  > http://sun.com/software/products/message_queue
• Join the Open Message Queue project
  > https://mq.dev.java.net
• Browse the product documentation
  > http://docs.sun.com/app/docs/coll/1307.3
• Take the free technical training
  > http://www.sun.com/training/catalog/courses/WMT-SMQ-1491.xml




            Copyright Sun Microsystems Inc. All Rights Reserved.   [47]
Related Information
• Java Composite Application Platform Suite
  > http://sun.com/software/javaenterprisesystem/javacaps/
• Java System Identity Manager
  > http://sun.com/software/products/identity
• Project GlassFish
  > https://glassfish.dev.java.net/
• The Aquarium, A community forum
  > http://blogs.sun.com/theaquarium/



            Copyright Sun Microsystems Inc. All Rights Reserved.   [48]
Thank You!

Introduction to
OpenMQ
Linda Schneider
linda.schneider@sun.com

Más contenido relacionado

La actualidad más candente

Nuxeo WebEngine and GlassFish v3
Nuxeo WebEngine and GlassFish v3Nuxeo WebEngine and GlassFish v3
Nuxeo WebEngine and GlassFish v3Nuxeo
 
VMworld 2013: vSphere Networking and vCloud Networking Suite Best Practices a...
VMworld 2013: vSphere Networking and vCloud Networking Suite Best Practices a...VMworld 2013: vSphere Networking and vCloud Networking Suite Best Practices a...
VMworld 2013: vSphere Networking and vCloud Networking Suite Best Practices a...VMworld
 
Dynamic Languages & Web Frameworks in GlassFish
Dynamic Languages & Web Frameworks in GlassFishDynamic Languages & Web Frameworks in GlassFish
Dynamic Languages & Web Frameworks in GlassFishIndicThreads
 
Nuts and Bolts of WebSocket Devoxx 2014
Nuts and Bolts of WebSocket Devoxx 2014Nuts and Bolts of WebSocket Devoxx 2014
Nuts and Bolts of WebSocket Devoxx 2014Arun Gupta
 
Deploying FuseMQ with Fuse Fabric
Deploying FuseMQ with Fuse FabricDeploying FuseMQ with Fuse Fabric
Deploying FuseMQ with Fuse Fabricdejanb
 
HTML5 WebSocket Introduction
HTML5 WebSocket IntroductionHTML5 WebSocket Introduction
HTML5 WebSocket IntroductionMarcelo Jabali
 
Programming WebSockets with Glassfish and Grizzly
Programming WebSockets with Glassfish and GrizzlyProgramming WebSockets with Glassfish and Grizzly
Programming WebSockets with Glassfish and GrizzlyC2B2 Consulting
 
Defeating The Network Security Infrastructure V1.0
Defeating The Network Security Infrastructure  V1.0Defeating The Network Security Infrastructure  V1.0
Defeating The Network Security Infrastructure V1.0Philippe Bogaerts
 
vlavrynovych - WebSockets Presentation
vlavrynovych - WebSockets Presentationvlavrynovych - WebSockets Presentation
vlavrynovych - WebSockets PresentationVolodymyr Lavrynovych
 
Virtual Router in CloudStack 4.4
Virtual Router in CloudStack 4.4Virtual Router in CloudStack 4.4
Virtual Router in CloudStack 4.4Sheng Yang
 
Whats new in Microsoft Windows Server 2016 Clustering and Storage
Whats new in Microsoft Windows Server 2016 Clustering and StorageWhats new in Microsoft Windows Server 2016 Clustering and Storage
Whats new in Microsoft Windows Server 2016 Clustering and StorageJohn Moran
 
VMworld 2013: vSphere Distributed Switch – Design and Best Practices
VMworld 2013: vSphere Distributed Switch – Design and Best Practices VMworld 2013: vSphere Distributed Switch – Design and Best Practices
VMworld 2013: vSphere Distributed Switch – Design and Best Practices VMworld
 
VMworld 2016: vSphere 6.x Host Resource Deep Dive
VMworld 2016: vSphere 6.x Host Resource Deep DiveVMworld 2016: vSphere 6.x Host Resource Deep Dive
VMworld 2016: vSphere 6.x Host Resource Deep DiveVMworld
 

La actualidad más candente (20)

Web Space10 Overview
Web Space10 OverviewWeb Space10 Overview
Web Space10 Overview
 
Glass Fish Portfolio Web Server Cvr
Glass Fish Portfolio Web Server CvrGlass Fish Portfolio Web Server Cvr
Glass Fish Portfolio Web Server Cvr
 
Nuxeo WebEngine and GlassFish v3
Nuxeo WebEngine and GlassFish v3Nuxeo WebEngine and GlassFish v3
Nuxeo WebEngine and GlassFish v3
 
VMworld 2013: vSphere Networking and vCloud Networking Suite Best Practices a...
VMworld 2013: vSphere Networking and vCloud Networking Suite Best Practices a...VMworld 2013: vSphere Networking and vCloud Networking Suite Best Practices a...
VMworld 2013: vSphere Networking and vCloud Networking Suite Best Practices a...
 
Dynamic Languages & Web Frameworks in GlassFish
Dynamic Languages & Web Frameworks in GlassFishDynamic Languages & Web Frameworks in GlassFish
Dynamic Languages & Web Frameworks in GlassFish
 
Nuts and Bolts of WebSocket Devoxx 2014
Nuts and Bolts of WebSocket Devoxx 2014Nuts and Bolts of WebSocket Devoxx 2014
Nuts and Bolts of WebSocket Devoxx 2014
 
Project Fuji/OpenESB Aquarium Paris
Project Fuji/OpenESB Aquarium ParisProject Fuji/OpenESB Aquarium Paris
Project Fuji/OpenESB Aquarium Paris
 
Deploying FuseMQ with Fuse Fabric
Deploying FuseMQ with Fuse FabricDeploying FuseMQ with Fuse Fabric
Deploying FuseMQ with Fuse Fabric
 
HTML5 WebSocket Introduction
HTML5 WebSocket IntroductionHTML5 WebSocket Introduction
HTML5 WebSocket Introduction
 
OpenDS Primer Aquarium
OpenDS Primer AquariumOpenDS Primer Aquarium
OpenDS Primer Aquarium
 
GlassFish v2 Clustering
GlassFish v2 ClusteringGlassFish v2 Clustering
GlassFish v2 Clustering
 
Programming WebSockets with Glassfish and Grizzly
Programming WebSockets with Glassfish and GrizzlyProgramming WebSockets with Glassfish and Grizzly
Programming WebSockets with Glassfish and Grizzly
 
Defeating The Network Security Infrastructure V1.0
Defeating The Network Security Infrastructure  V1.0Defeating The Network Security Infrastructure  V1.0
Defeating The Network Security Infrastructure V1.0
 
vlavrynovych - WebSockets Presentation
vlavrynovych - WebSockets Presentationvlavrynovych - WebSockets Presentation
vlavrynovych - WebSockets Presentation
 
WebSocket protocol
WebSocket protocolWebSocket protocol
WebSocket protocol
 
Virtual Router in CloudStack 4.4
Virtual Router in CloudStack 4.4Virtual Router in CloudStack 4.4
Virtual Router in CloudStack 4.4
 
Whats new in Microsoft Windows Server 2016 Clustering and Storage
Whats new in Microsoft Windows Server 2016 Clustering and StorageWhats new in Microsoft Windows Server 2016 Clustering and Storage
Whats new in Microsoft Windows Server 2016 Clustering and Storage
 
VMworld 2013: vSphere Distributed Switch – Design and Best Practices
VMworld 2013: vSphere Distributed Switch – Design and Best Practices VMworld 2013: vSphere Distributed Switch – Design and Best Practices
VMworld 2013: vSphere Distributed Switch – Design and Best Practices
 
VMworld 2016: vSphere 6.x Host Resource Deep Dive
VMworld 2016: vSphere 6.x Host Resource Deep DiveVMworld 2016: vSphere 6.x Host Resource Deep Dive
VMworld 2016: vSphere 6.x Host Resource Deep Dive
 
Glassfish V2.1 Harpreet Singh
Glassfish V2.1 Harpreet SinghGlassfish V2.1 Harpreet Singh
Glassfish V2.1 Harpreet Singh
 

Destacado (7)

Java FX Tools Aquarium Paris
Java FX Tools Aquarium ParisJava FX Tools Aquarium Paris
Java FX Tools Aquarium Paris
 
Nuxeo WebEngine GFv3 Aquarium Paris
Nuxeo WebEngine GFv3 Aquarium ParisNuxeo WebEngine GFv3 Aquarium Paris
Nuxeo WebEngine GFv3 Aquarium Paris
 
OpenDS Aquarium Paris
OpenDS Aquarium ParisOpenDS Aquarium Paris
OpenDS Aquarium Paris
 
SFR RED Aquarium Paris
SFR RED Aquarium ParisSFR RED Aquarium Paris
SFR RED Aquarium Paris
 
Hudson Aquarium Paris
Hudson Aquarium ParisHudson Aquarium Paris
Hudson Aquarium Paris
 
XWiki Aquarium Paris
XWiki Aquarium ParisXWiki Aquarium Paris
XWiki Aquarium Paris
 
JavaFX 1.0 SDK Aquarium Paris
JavaFX 1.0 SDK Aquarium ParisJavaFX 1.0 SDK Aquarium Paris
JavaFX 1.0 SDK Aquarium Paris
 

Similar a OpenMQ Aquarium Paris

Jms introduction
Jms introductionJms introduction
Jms introductionBui Kiet
 
Connecting Applications Everywhere with ActiveMQ
Connecting Applications Everywhere with ActiveMQConnecting Applications Everywhere with ActiveMQ
Connecting Applications Everywhere with ActiveMQRob Davies
 
Cloud-based performance testing
Cloud-based performance testingCloud-based performance testing
Cloud-based performance testingabhinavm
 
“Parallelizing Machine Learning Applications in the Cloud with Kubernetes: A ...
“Parallelizing Machine Learning Applications in the Cloud with Kubernetes: A ...“Parallelizing Machine Learning Applications in the Cloud with Kubernetes: A ...
“Parallelizing Machine Learning Applications in the Cloud with Kubernetes: A ...Edge AI and Vision Alliance
 
IBM MQ High Availability 2019
IBM MQ High Availability 2019IBM MQ High Availability 2019
IBM MQ High Availability 2019David Ware
 
M14: MQ security deep dive ITC 2019
M14: MQ security deep dive ITC 2019M14: MQ security deep dive ITC 2019
M14: MQ security deep dive ITC 2019Robert Parker
 
Introduction to Lagom Framework
Introduction to Lagom FrameworkIntroduction to Lagom Framework
Introduction to Lagom FrameworkKnoldus Inc.
 
Clustering, Server setup and Hybrid deployment setup using Anypoint Runtime M...
Clustering, Server setup and Hybrid deployment setup using Anypoint Runtime M...Clustering, Server setup and Hybrid deployment setup using Anypoint Runtime M...
Clustering, Server setup and Hybrid deployment setup using Anypoint Runtime M...Manish Kumar Yadav
 
Using open source for IoT
Using open source for IoTUsing open source for IoT
Using open source for IoTIan Skerrett
 
What's New in IBM MQ - Version 8
What's New in IBM MQ - Version 8What's New in IBM MQ - Version 8
What's New in IBM MQ - Version 8MarkTaylorIBM
 
Connecting IBM MessageSight to the Enterprise
Connecting IBM MessageSight to the EnterpriseConnecting IBM MessageSight to the Enterprise
Connecting IBM MessageSight to the EnterpriseAndrew Schofield
 
Ranker jms implementation
Ranker jms implementationRanker jms implementation
Ranker jms implementationEosSoftware
 
Cloud compiler - Minor Project by students of CBPGEC
Cloud compiler - Minor Project by students of CBPGEC  Cloud compiler - Minor Project by students of CBPGEC
Cloud compiler - Minor Project by students of CBPGEC vipin kumar
 
Low Latency Mobile Messaging using MQTT
Low Latency Mobile Messaging using MQTTLow Latency Mobile Messaging using MQTT
Low Latency Mobile Messaging using MQTTHenrik Sjöstrand
 
Microservice Workshop Hands On
Microservice Workshop Hands On Microservice Workshop Hands On
Microservice Workshop Hands On Ram G Suri
 
uma.290215118
uma.290215118uma.290215118
uma.290215118ypai
 

Similar a OpenMQ Aquarium Paris (20)

Building With Open Mq V2
Building With Open Mq V2Building With Open Mq V2
Building With Open Mq V2
 
Jms introduction
Jms introductionJms introduction
Jms introduction
 
Connecting Applications Everywhere with ActiveMQ
Connecting Applications Everywhere with ActiveMQConnecting Applications Everywhere with ActiveMQ
Connecting Applications Everywhere with ActiveMQ
 
Cloud-based performance testing
Cloud-based performance testingCloud-based performance testing
Cloud-based performance testing
 
“Parallelizing Machine Learning Applications in the Cloud with Kubernetes: A ...
“Parallelizing Machine Learning Applications in the Cloud with Kubernetes: A ...“Parallelizing Machine Learning Applications in the Cloud with Kubernetes: A ...
“Parallelizing Machine Learning Applications in the Cloud with Kubernetes: A ...
 
IBM MQ High Availability 2019
IBM MQ High Availability 2019IBM MQ High Availability 2019
IBM MQ High Availability 2019
 
M14: MQ security deep dive ITC 2019
M14: MQ security deep dive ITC 2019M14: MQ security deep dive ITC 2019
M14: MQ security deep dive ITC 2019
 
Introduction to Lagom Framework
Introduction to Lagom FrameworkIntroduction to Lagom Framework
Introduction to Lagom Framework
 
Clustering, Server setup and Hybrid deployment setup using Anypoint Runtime M...
Clustering, Server setup and Hybrid deployment setup using Anypoint Runtime M...Clustering, Server setup and Hybrid deployment setup using Anypoint Runtime M...
Clustering, Server setup and Hybrid deployment setup using Anypoint Runtime M...
 
IBM MQ V8 annd JMS 2.0
IBM MQ V8 annd JMS 2.0IBM MQ V8 annd JMS 2.0
IBM MQ V8 annd JMS 2.0
 
Using open source for IoT
Using open source for IoTUsing open source for IoT
Using open source for IoT
 
What's New in IBM MQ - Version 8
What's New in IBM MQ - Version 8What's New in IBM MQ - Version 8
What's New in IBM MQ - Version 8
 
Through the JMX Window
Through the JMX WindowThrough the JMX Window
Through the JMX Window
 
Connecting IBM MessageSight to the Enterprise
Connecting IBM MessageSight to the EnterpriseConnecting IBM MessageSight to the Enterprise
Connecting IBM MessageSight to the Enterprise
 
Ranker jms implementation
Ranker jms implementationRanker jms implementation
Ranker jms implementation
 
Cloud compiler - Minor Project by students of CBPGEC
Cloud compiler - Minor Project by students of CBPGEC  Cloud compiler - Minor Project by students of CBPGEC
Cloud compiler - Minor Project by students of CBPGEC
 
Low Latency Mobile Messaging using MQTT
Low Latency Mobile Messaging using MQTTLow Latency Mobile Messaging using MQTT
Low Latency Mobile Messaging using MQTT
 
Through the JMX Window
Through the JMX WindowThrough the JMX Window
Through the JMX Window
 
Microservice Workshop Hands On
Microservice Workshop Hands On Microservice Workshop Hands On
Microservice Workshop Hands On
 
uma.290215118
uma.290215118uma.290215118
uma.290215118
 

Más de Alexis Moussine-Pouchkine

GlassFish OSGi - From modular runtime to hybrid applications
GlassFish OSGi - From modular runtime to hybrid applicationsGlassFish OSGi - From modular runtime to hybrid applications
GlassFish OSGi - From modular runtime to hybrid applicationsAlexis Moussine-Pouchkine
 

Más de Alexis Moussine-Pouchkine (20)

GlassFish Article September 07
GlassFish Article September 07GlassFish Article September 07
GlassFish Article September 07
 
GlassFish OSGi - Java2days 2010
GlassFish OSGi - Java2days 2010GlassFish OSGi - Java2days 2010
GlassFish OSGi - Java2days 2010
 
GlassFish Community and future larochelle
GlassFish Community and future larochelleGlassFish Community and future larochelle
GlassFish Community and future larochelle
 
Javaee glassfish jcertif2010
Javaee glassfish jcertif2010Javaee glassfish jcertif2010
Javaee glassfish jcertif2010
 
GlassFish Community - FISL 2010
GlassFish Community - FISL 2010GlassFish Community - FISL 2010
GlassFish Community - FISL 2010
 
GlassFish OSGi - From modular runtime to hybrid applications
GlassFish OSGi - From modular runtime to hybrid applicationsGlassFish OSGi - From modular runtime to hybrid applications
GlassFish OSGi - From modular runtime to hybrid applications
 
Feuille de route (roadmap) GlassFish
Feuille de route (roadmap) GlassFishFeuille de route (roadmap) GlassFish
Feuille de route (roadmap) GlassFish
 
Java EE 6 Solutions Linux 2010
Java EE 6 Solutions Linux 2010Java EE 6 Solutions Linux 2010
Java EE 6 Solutions Linux 2010
 
GlassFish v3 at JavaZone 09
GlassFish v3 at JavaZone 09GlassFish v3 at JavaZone 09
GlassFish v3 at JavaZone 09
 
L'association GUSES
L'association GUSESL'association GUSES
L'association GUSES
 
Open Solaris 2009.06
Open Solaris 2009.06Open Solaris 2009.06
Open Solaris 2009.06
 
Java EE 6 and GlassFish portfolio
Java EE 6 and GlassFish portfolioJava EE 6 and GlassFish portfolio
Java EE 6 and GlassFish portfolio
 
Metro Web Services
Metro Web ServicesMetro Web Services
Metro Web Services
 
Retour JavaOne 2009
Retour JavaOne 2009Retour JavaOne 2009
Retour JavaOne 2009
 
Zembly
ZemblyZembly
Zembly
 
Behind The Clouds
Behind The CloudsBehind The Clouds
Behind The Clouds
 
Retour d'expérience Cap Gemini GlassFish
Retour d'expérience Cap Gemini GlassFishRetour d'expérience Cap Gemini GlassFish
Retour d'expérience Cap Gemini GlassFish
 
OpenDS - Open Source Java LDAP server
OpenDS - Open Source Java LDAP serverOpenDS - Open Source Java LDAP server
OpenDS - Open Source Java LDAP server
 
Open MQ Jerome Moliere
Open MQ Jerome MoliereOpen MQ Jerome Moliere
Open MQ Jerome Moliere
 
OpenMQ François Ostyn
OpenMQ François OstynOpenMQ François Ostyn
OpenMQ François Ostyn
 

Último

New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Farhan Tariq
 
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Scott Andery
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityIES VE
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Alkin Tezuysal
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Mark Goldstein
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI AgeCprime
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfIngrid Airi González
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality AssuranceInflectra
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPathCommunity
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rick Flair
 

Último (20)

New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...
 
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a reality
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI Age
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdf
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to Hero
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...
 

OpenMQ Aquarium Paris

  • 2. Agenda: • What is OpenMQ ? > Basic Concepts > Product Features > High Availability Architectures • OpenMQ Roadmap • Selected Customer Scenarios • More information Copyright Sun Microsystems Inc. All Rights Reserved. [2]
  • 3. What is OpenMQ ? Copyright Sun Microsystems Inc. All Rights Reserved. [3]
  • 4. Open MQ Basics • Allows heterogenous applications to reliability and asynchronously pass data between each other. • Open Source Java Message Service (JMS) implementation (+ additions) • Default Messaging Provider for Glassfish • Also can be used on its own for standalone JMS applications • Enterprise level quality (>8 years in development) • Open Source since JavaOne 2006 • Also available in a supported product (SJSMQ) Copyright Sun Microsystems Inc. All Rights Reserved. [4]
  • 5. OpenMQ Information • The open source version of Java MQ > Includes all features from Java MQ • Available from http://mq.dev.java.net • Developer and User discussion forums • Stable builds with product releases • Early access, promoted builds available > New features, and fixes • Dual license support (GPL V2 and CDDL) Copyright Sun Microsystems Inc. All Rights Reserved. [5]
  • 6. OpenMQ Specifications: • Java Message Service (JMS) 1.1 Specification, JSR 914 • J2EE specification 1.3 or later • Java Connector Architecture (JCA) for the openMQ resource adapter (JMSRA) Copyright Sun Microsystems Inc. All Rights Reserved. [6]
  • 7. Basic Concepts Copyright Sun Microsystems Inc. All Rights Reserved. [7]
  • 8. What Is JMS ? • A Java-based api for Message Oriented Middleware. • It use the following concepts (among others) > Message Order is guaranteed > Level of reliability is determined when the message is sent > Transactions (grouping of messages to be sent or produced together) are supported > Format of the message is defined by the producer > Provides two styles of message delivery (point-to-point and publish-subscribe) Copyright Sun Microsystems Inc. All Rights Reserved. [8]
  • 9. How Does JMS Work? Copyright Sun Microsystems Inc. All Rights Reserved. [9]
  • 10. Messaging Models • Java Message Service defines two messaging models: > Publish-subscribe (or pub-sub) – One-to-many messaging. – Every message goes to all interested consumers. > Point-to-point – One-to-one messaging. – A single message goes to only one consumer. Copyright Sun Microsystems Inc. All Rights Reserved. [10]
  • 11. Messaging Models (continued) Copyright Sun Microsystems Inc. All Rights Reserved. [11]
  • 12. What are the pieces of OpenMQ Broker The server component of OpenMQ which handles reliable delivery Client Allows clients to connect to the implementations OpenMQ Broker JMX api Full administration Api for custom applications Administration Allows administrators to control Tools OpenMQ Copyright Sun Microsystems Inc. All Rights Reserved. [12]
  • 13. OpenMQ Architecture Copyright Sun Microsystems Inc. All Rights Reserved. [13]
  • 14. (*) Product Features * as of OpenMQ 4.3 (releasing 12/15/2008) Copyright Sun Microsystems Inc. All Rights Reserved. [14]
  • 15. Connectivity in OpenMQ • JMS API • C API • Clients connect via TCP/TLS or SOAP / HTTP • JCA Resource Adapter JMSRA. Also used w/ > JMSJCA RA > Generic RA • UMS Copyright Sun Microsystems Inc. All Rights Reserved. [15]
  • 16. Scaling in OpenMQ • Support for 1000s of connections on a single broker • Support for clusters of multiple brokers • Message size limited only by operating system and storage capacity • Support for multiple receivers on a queue • Ability to set size and behavior limits on a destination to prevent memory issues • No-acknowledge mode for performance when reliability is not an issue • Support for message compression Copyright Sun Microsystems Inc. All Rights Reserved. [16]
  • 17. Deploying and Administering • Administration tools • JMX API • Support for both file and JDBC-based message stores • Dead Message Queue (DMQ) • XML Validation • Topic Wildcard Support Copyright Sun Microsystems Inc. All Rights Reserved. [17]
  • 18. Securing OpenMQ • Authentication > Allows administrators to set up a user-name/password database to control access to the system > Supports use of JAAS for pluggable authentication • Authorization > Allows administrators to control which users can access (produce or consume to) specific destinations • SSL connection support > Provides encryption of data to and from the server Copyright Sun Microsystems Inc. All Rights Reserved. [18]
  • 19. Clustering OpenMQ – Definitions • Broker Failover: > Manual – requires administrators intervention > Automatic – does not require intervetion • High Availability Definitions: > Service Availability- support to allow applications to continue to operate (produce and consume messages) rapidly after a failure (Automatic failover) > Data Availability – data is available after a failure • OpenMQ provides support for both service and data availability. • Clients fail-over to other brokers in the cluster Copyright Sun Microsystems Inc. All Rights Reserved. [19]
  • 20. Clustering OpenMQ • Standard clustering provides scaling and service availability > Allows multiple brokers to be connected together and operate > JMS semantics are preserved > Producers and consumers can attach to different brokers > If data is available, administrators can start a broker to dispatch the messages on another machine • OpenMQ also provides additional clustering modes to provide multiple levels of data availability Copyright Sun Microsystems Inc. All Rights Reserved. [20]
  • 21. Clustering OpenMQ There are currently three ways to get availability with OpenMQ: • Standard Clustering > Provides service availability • Sun Cluster Data Service for Java MQ > Provides data availability using a highly available file system. • JDBC-based High Availability > Provides service and data availability by using a highly available database Copyright Sun Microsystems Inc. All Rights Reserved. [21]
  • 22. OpenMQ Features Recent Additions: • Stomp Support examples • Extensive UMS Examples • Spring Examples Planned near-term additions: • Visual VM support • Improved netbeans support • A swing and web based monitoring demo using JMX Copyright Sun Microsystems Inc. All Rights Reserved. [22]
  • 23. UMS: new for 4.3 Copyright Sun Microsystems Inc. All Rights Reserved. [23]
  • 24. What is UMS ? Copyright Sun Microsystems Inc. All Rights Reserved. [24]
  • 25. What is UMS? (lower level) Copyright Sun Microsystems Inc. All Rights Reserved. [25]
  • 26. UMS – the 10k foot view • Simple API > 6 messaging services (e.g. login, send, receive) > Only 2 are required to produce or consume messages > Services are request/reply > Only supports text messages • Runs on top of HTTP(s) • Multiple clients share a single JMS Connection > Default is 100 per connection • 2 style of queries are available: > Simple Messaging – for non-XML text messages > XML Messaging – for XML encoded messages Copyright Sun Microsystems Inc. All Rights Reserved. [26]
  • 27. UMS Interface Types • Simple Query String > POST /ums/simple?service=send& destination=simpleQ&domain=queue Send msg: Hello World! • XML Document <SOAP-ENV:Envelope xmlns:SOAP-ENV=quot;http://schemas.xmlsoap.org/soap/ envelope/quot;> <SOAP-ENV:Header> <ums:MessageHeader xmlns:ums=quot;https://mq.dev.java.net/umsquot; ums:id=quot;1.0quot; ums:version=quot;1.0quot;> <ums:Service ums:service=quot;sendquot; ums:destination=quot;XMLmessagingQquot; ums:domain=quot;queuequot; ums:sid=quot;7-LTgxMDczMTczNQ== quot;/> </ums:MessageHeader> </SOAP-ENV:Header> <SOAP-ENV:Body><bodyvalue>Hello, XML World!</bodyvalue></SOAP-ENV:Body> </SOAP-ENV:Envelope> Copyright Sun Microsystems Inc. All Rights Reserved. [27]
  • 28. Availability Architectures Copyright Sun Microsystems Inc. All Rights Reserved. [28]
  • 29. Standard Clusters - Architecture Copyright Sun Microsystems Inc. All Rights Reserved. [29]
  • 30. Standard Cluster – Key Points • Provides service availability • Delivery of messages is transparent to client and administrator • A new broker can be manually started on the same data if a failure occurs. Copyright Sun Microsystems Inc. All Rights Reserved. [30]
  • 31. Using SunCluster – Single Broker Producer Q1 Consumer Q1 To the JMS Broker clients, the active/standby configuration is hidden Active Standby Sun Cluster Data Service Local or SAN Storage Copyright Sun Microsystems Inc. All Rights Reserved. [31]
  • 32. Using Sun Cluster – Three Brokers Producer Q1 Producer Q2 JDBC or File Store Broker A Broker B Master Broker C Consumer Q1 Consumer Q2 Copyright Sun Microsystems Inc. All Rights Reserved. [32]
  • 33. SunCluster – Key Points • Provides availability and monitoring • A new broker is automatically started to take over the existing data from the unavailable one • Relies on a shared storage device (SAN) • Can be support for distances over 200k Copyright Sun Microsystems Inc. All Rights Reserved. [33]
  • 34. JDBC High Availability - Architecture Copyright Sun Microsystems Inc. All Rights Reserved. [34]
  • 35. JDBC High Availability – Key Points • Simple to configure and set up • How it works: > Keeps all information in a single accessible location > Stores data by broker > Allows another broker to “takeover” the messages > Helps prevent “split-brain” through database heartbeats • Supported available databases > Oracle 9i,10g (RAC or replicated with Sun Cluster) > HADB > MySQL Cluster Copyright Sun Microsystems Inc. All Rights Reserved. [35]
  • 36. OpenMQ Clustering – Comparison Feature Cluster SunCluster JDBC HA Data Availability No Yes Yes Active/Active N/A No Yes Handles Remote sites Yes Yes No [1] HA Filesystem No Yes No Requires HA Database No No Yes Scales to large # of brokers Yes Yes Yes Performance High High Low Complexity Low High Low [4] Takeover speed N/A Medium Fast [3] When Available Now Now Now Minimum # of Brokers 2 2 2 Redundant Network No No[2] No [2] [1] May require Sun Cluster [2] May be required by supporting software [3] Fast for broker take-over. DB recovery may be [4] medium if cannot use existing JDBC slow infrastructure Copyright Sun Microsystems Inc. All Rights Reserved. [36]
  • 37. OpenMQ Roadmap Copyright Sun Microsystems Inc. All Rights Reserved. [37]
  • 38. Crane (MQ 4.4) • Targeted Spring 2009 • Features in evaluation for Crane: > Journaling (storage of message history) > Connected Clusters > JMX support via UMX > Ability to Embed the broker in a standalone application > Performance improvements > Support for grouping message delivery (e.g. Units of Work) > Web-based administration > Scalable destinations > JMS Bridge Copyright Sun Microsystems Inc. All Rights Reserved. [38]
  • 39. Phoenix (MQ 4.5) •Targeted late 2009/early 2010 •Phoenix is too far out to have a list of possible features but we are thinking about: • Features pushed forward from Crane • Encrypted Destinations • XML Content based selectors • Improved MySQL support • Replay of Journaled Messages Copyright Sun Microsystems Inc. All Rights Reserved. [39]
  • 40. Selected Customer Architectures Copyright Sun Microsystems Inc. All Rights Reserved. [40]
  • 41. Customer 1: Copyright Sun Microsystems Inc. All Rights Reserved. [41]
  • 42. Customer 2: Copyright Sun Microsystems Inc. All Rights Reserved. [42]
  • 43. Customer 3: Copyright Sun Microsystems Inc. All Rights Reserved. [43]
  • 44. Customer 4: Copyright Sun Microsystems Inc. All Rights Reserved. [44]
  • 45. Customer 5: Copyright Sun Microsystems Inc. All Rights Reserved. [45]
  • 46. More Information Copyright Sun Microsystems Inc. All Rights Reserved. [46]
  • 47. OpenMQ -- More Information • Visit the product webpage > http://sun.com/software/products/message_queue • Join the Open Message Queue project > https://mq.dev.java.net • Browse the product documentation > http://docs.sun.com/app/docs/coll/1307.3 • Take the free technical training > http://www.sun.com/training/catalog/courses/WMT-SMQ-1491.xml Copyright Sun Microsystems Inc. All Rights Reserved. [47]
  • 48. Related Information • Java Composite Application Platform Suite > http://sun.com/software/javaenterprisesystem/javacaps/ • Java System Identity Manager > http://sun.com/software/products/identity • Project GlassFish > https://glassfish.dev.java.net/ • The Aquarium, A community forum > http://blogs.sun.com/theaquarium/ Copyright Sun Microsystems Inc. All Rights Reserved. [48]
  • 49. Thank You! Introduction to OpenMQ Linda Schneider linda.schneider@sun.com