Upload
ngokhue
View
226
Download
4
Embed Size (px)
Citation preview
Extending the value of WebSphere
Message Broker with
Business Monitoring, Business Rules
and Business Events
Tetti Pandelias (BPM/SOA Solution Architect),
Matt Roberts (Technical Specialists (BPM / WODM))
Andy Ritchie (WODM / BPM – IBM Hursley Lab)
12th JulyWebSphere Integration UK User Group
Agenda
• Extending WebSphere Message Broker with Business Monitoring, Business
Rules and Business Events
• Context Aware Solutions
• Solution demo
Extending WMB with Business Monitoring, Business Events and Business Rules 2
• Technical overview of WebSphere Message Broker capability to support
– Business Monitoring
– Business Rules
– Business Events
• Summary
Agenda
• Extending WebSphere Message Broker with Business Monitoring,
Business Rules and Business Events
• Context Aware Solutions
• Solution Demo
Extending WMB with Business Monitoring, Business Events and Business Rules 3
• Solution Demo
• Technical overview of WebSphere Message Broker capability to support
– Business Monitoring
– WODM Business Rules
– WODM Business Events
• Summary
• WebSphere Message Broker (WMB) is a key technology to provide a
flexible connectivity infrastructure
• WMB enables key business processing
– Enables a broad range of scenarios
WebSphere Message Broker
Extending WMB with Business Monitoring, Business Events and Business Rules
• WMB provides the capabilities that allow you to integrate many disparate
systems and technologies through a variety of design patterns and
scenarios whilst at the same time being able to adapt to rapid change
• A common pattern is for WMB to be the central, common business
transaction HUB (eg payments, orders)
• WMB capability can be extended by:
– having real-time end-to-end business operational visibility of business
transactions, enabling business user to see a real-time contextual view of
the business
Extending WebSphere Message Broker with
Business Monitoring, Business Rules and Business Events
Extending WMB with Business Monitoring, Business Events and Business Rules
– detect what is happening (or not happening) in the business by
establishing contextual patterns over time
– decide what to do based on business policy which is understandable by
the business users and having the agility to adapt policy swiftly
• Please Note: Do not need all of these capabilities to create a context aware solution
By creating a context aware solution
What is a Context Aware Solutions?
A solution is context aware when it is capable of A solution is context aware when it is capable of
responding to
changes in the environment,
based on visibility, business policies and rules, in
Extending WMB with Business Monitoring, Business Events and Business Rules
real time.
based on visibility, business policies and rules, in
real time.
DetectDetect DecideDecide ActAct
Please Note: Do not need all of these capabilities to create a context aware solution
DetectDetect DecideDecide ActAct
• We establish context by detecting what is (or isn’t!) happening in the
business environment
• Information about what is happening is delivered via events
Extending WMB with Business Monitoring, Business Events and Business Rules
• Information about what is happening is delivered via events
• Business Event Processing (BEP) technology is used to:
– Correlate disparate events together
– Identify patterns in events over time
• Event based patterns and rules can be designed, implemented, and
maintained by the business and IT
DetectDetect DecideDecide ActAct
• Identifying context alone is not enough… what now?
• The ability to decide involves:
– Identifying the best response given contextual, operational, and historical
Extending WMB with Business Monitoring, Business Events and Business Rules
– Identifying the best response given contextual, operational, and historical
information
– Making business policies executable and understandable
– The agility to change policies to respond to the environment
• Business rules can be designed, implemented, and maintained by the IT as
well as the business.
DetectDetect DecideDecide ActAct
• Business situation detected → decision made → now what ?
• Acting on decisions can involve:
– Initiating simple or complex workflows
Extending WMB with Business Monitoring, Business Events and Business Rules
– Initiating simple or complex workflows
– Aligning and orchestrating resources within the organization
– Communicating with customers at their point of contact
– Sending an action to ESB
• Business Process Management (BPM) is a proven technology that allows
organizations to model, execute, rapidly change, govern, and gain end-
to-end visibility on their business processes
Detect
(Event Rules)
Detect
(Event Rules)
Decide
(Business Rules)
Decide
(Business Rules)
Act
(Business Processes)
Act
(Business Processes)
Business Monitoring
• Enable Business Users to see contextual real-time snapshot of the business • Enable Business Users to see contextual real-time snapshot of the business
• Through real-time end-to-end operational visibility
• Using role-based customised dashboards enabling views of KPIs, metics and
alerts.
Detect
(Event Rules)
Detect
(Event Rules)
Decide
(Business Rules)
Decide
(Business Rules)
Act
(Business Processes)
Act
(Business Processes)
Bringing It Together
WebSphere Operational Decision Management
Actions
IBM BusinessProcess Management
IBM Business Monitor
WebSphere Message Broker
DecisionServices
Actions
EventsProcesses
Agenda
• Extending WebSphere Message Broker with Business Monitoring, Business
Rules and Business Events
• Context Aware Applications
• Solution demo
Extending WMB with Business Monitoring, Business Events and Business Rules 12
• Solution demo
• Technical overview of WebSphere Message Broker capability to support
– Business Monitoring
– WODM Business Events
– WODM Business Rules
• Summary
Introducing…
DEMO
Extending WMB with Business Monitoring, Business Events and Business Rules
Meet the Cast…
Mike Mitchell
- Mike is a long-time OnTheFly customer and makes
regular flights, usually for business but also to visit his
family in Newfoundland
- Mike is flying from Edmonton to St. John’s,
Newfoundland, with one connection, stopping in
Toronto
Rachel Richards
Toronto
- Rachel works at OnTheFly as a business analyst, and has
been with the company for 5 years
- She enjoys her work immensely, largely because of
OnTheFly’s innovative culture
- Rachel is empowered to make operational changes to business
policies and rules, test and simulate them, and go live!
Mike’s Flight Path
Flight
Delay
Lost
Baggage
Customer
Satisfaction
Agenda
• Extending WebSphere Message Broker with Business Monitoring, Business
Rules and Business Events
• Context Aware Applications
• Solution demo
Extending WMB with Business Monitoring, Business Events and Business Rules 16
• Solution demo
• Technical overview of WebSphere Message Broker capability to support
– Business Monitoring
– WODM Business Rules
– WODM Business Events
• Summary
Business Monitoring of Context Aware Solutions
• Ability to monitor your business
performance
– Giving a real-time view of what
is happening in your business
– Identifying problems in your
business processes
– Opportunity to improve your
business processes and business
competitiveness
Extending WMB with Business Monitoring, Business Events and Business Rules
competitiveness
• A way of making the business more
transparent
– Allows evidence-based decision
making
– “X-Ray for business processes”
• IBM Business Monitor
– A BAM software product that
subscribes to business events
and displays the event
information in a dashboard.
WMB - Enabling Business Monitoring Events
• A message flow can emit two kinds of events:
• Transaction events
– Each input node in a message flow contains three events sources (in addition to
terminal events):
• transaction.Start
• transaction.End
• transaction.Rollback
Extending WMB with Business Monitoring, Business Events and Business Rules
• transaction.Rollback
• Terminal events
– Any terminal in a message flow can be an event source.
– If the event source is active, it emits an event each time a message passes through
the terminal.
• All events are optional, and fully configurable
• Events can contain simple or complex data from message payload
• Events are configured in two ways:– Via the message flow editor (Excellent support in message flow editor via Monitoring panel on all nodes)
– Via the command line (Using a monitoring profile configurable service)
WMB - configuring monitoring events using the toolkit
Note: terminals are coloured ‘red’ on this slide to highlight those terminals with monitoring events defined.
Agenda
• Extending WebSphere Message Broker with Business Monitoring, Business
Rules and Business Events
• Context Aware Applications
• Solution Demo
Extending WMB with Business Monitoring, Business Events and Business Rules 20
• Solution Demo
• Technical overview of WebSphere Message Broker capability to support
– Business Activity Monitoring
– WODM Business Events
– WODM Business Rules
• Summary
WebSphere Message Broker – source of Business Events
Existing Message
Flows emit events
�
New Flow to
process action
�
Sense from
Broker & other
Event sources
Respond
� Identify new business situations from existing messaging flows
– Broker is one source of event messages from instrumented flows
– WODM detects specific situations from patterns of event sequences
– Broker routes responses to applications and processes
Event sources
Situational
Decisions
(Events
& Rules)
ActionsXML/JMS XML/JMS
Events
DetectEnrich Enrich
WebSphere Message Broker
WebSphere Operational Decision Management
WODM -- Two WebSphere Message Broker nodes supplied
22
• Two WMB nodes shipped with WODM Events:-
• DESREventOutputNode - to generate events from the input message input message in WMB flow
• DESRActionInputNode - to receive actions from WODM Events, so that WMB can further process
• Optimized interoperability without use of WODM Events Connectors
Agenda
• Extending WebSphere Message Broker with Business Monitoring, Business
Rules and Business Events
• Context Aware Applications
• Demo
Extending WMB with Business Monitoring, Business Events and Business Rules 23
• Demo
• Technical overview of WebSphere Message Broker capability to support
– Business Activity Monitoring
– WODM Business Events
– WODM Business Rules
• Summary
Connectivity with ODM Business Rules – a more agile approach
Business Rules may already
exist in Message Flows
?
Smart Routing �Validation
�
Extract
decision
logic from custom ESQL,
Java code and
Decision
Center
Decision
Center
Decision Decision
WODM
Transformation
�
� Adapt faster to ongoing change requirements
– Respond to customer and industry demands by deploying rule changes independently from
message flow update cycles
� Reduce load on IT development
– Express decision logic in business language terms to enable your business team to
participate in policy changes
– Validate rules execution without the need to retest the whole message flow
Java code and
databases
Decision
Server
Decision
Server
Separate Message Broker Flow and Business Events and
Business Rule Lifecycles
Functional
Requirements
Functional
Enhancements /
Platform Upgrades
Message Flow
Development
Message Flow
Developer
Functions / Tasks / Flow changes
in Weeks / Months
New
Policies/Rules
New
Event based
Business
Policies/Rules
Business policy
and business rule
changes
Business policy
and event rule
changes
Business policy
and event rule
changes
In-Production
Message Flow ApplicationSynchronization
Decision
Management
Development
Business policy
and business rule
changes
Business & IT
Decisions / Policies Changes
in Days / Weeks
Align Business and IT on Decisions and Rules
Rule-based
Business Decisions
IT Users
Business Users
Author rules
Design
Message Flows
Decision Center
Repository
Rule Solutions
for Office
WODM Business Rules gives WMB users choice to:
� Provide visibility of business rules to Business Users via Web interface
� Provide selective rule authoring ability to Business Users via Web interface
– E.g. IT can enable rule parameters to be changed by business
Rule Solutions for Office capability in Decision Center
– Provides capabilities to author and change rules using familiar desktop tools
Runtime Options for Integrating Message Broker & WODM Rules
ODM Java SE Rule Execution Server
Deploy a WODM Rule Execution Server in a Message Broker JVM and access the action rules via the Rule Session API
Most common pattern - Also used by IAM V9 Message Broker Support Pack
Other Patterns
ODM via
Web serviceUse Message Broker support for Web services to make an external call out to a Rule Execution Server
ODM via JMS callUse Message Broker support for JMS to make an external call out to a Rule Execution Server
ODM Java SE Rules engine
Deploy a core ODM Action Rules rule engine in a Message Broker JVM and access the rule engine directly with the ODM API
Message Broker Support Pack – IAM9
• Provides support for executing WODM Business rule rulesets within a
Message Broker flow
• Benefits
– Improved performance compared to loosely coupling Message Broker and WODM and
using integration via web services (WODM HTDS)
– Provides User Defined Node to provide integration
– Provides cacheing of Rulesets
– Configurable listener (optional) will update cache if new Ruleset versions are available.
Extending WMB with Business Monitoring, Business Events and Business Rules 28
– Configurable listener (optional) will update cache if new Ruleset versions are available.
• Two components
– Message Broker toolkit plug-in provides new Decision Node
– Message Broker runtime jar provides Decision Runtime implementation
• Configuration is fully documented in IAM9 documentation
• Available at: http://www-01.ibm.com/support/docview.wss?uid=swg24032010
Agenda
• Extending WebSphere Message Broker with Business Monitoring, Business
Rules and Business Events
• Context Aware Applications
• Demo
Extending WMB with Business Monitoring, Business Events and Business Rules 29
• Demo
• Technical overview of WebSphere Message Broker capability to support
– Business Monitoring
– WODM Business Events
– WODM Business Rules
• Summary
Summary DetectDetect DecideDecide ActAct
• Extend the value of WebSphere Message Broker capability using
WebSphere Business Monitor & Websphere Operational Decision Management
by:
– provided by having real-time end-to-end business operational visibility of
business transactions, enabling business user to see a real-time contextual
view of the business
– detect what is happening (or not happening) in the business by
Extending WMB with Business Monitoring, Business Events and Business Rules
Creating context aware solutions capable of responding to Creating context aware solutions capable of responding to
changes in the environment, based on visibility, business
policies and rules, in real time.
– detect what is happening (or not happening) in the business by
establishing contextual patterns over time
– decide what to do based on business policy which is understandable by the
business users and having the agility to adapt policy swiftly
Some further information
• WebSphere Message Broker and WebSphere Business Monitor
– http://www.youtube.com/watch?v=VRDTA9syeZ4
– http://ibm.sitecelerate.com/developerworks/websphere/library/techarticles/1105_alcorn/110
5_alcorn.html
• WebSphere Message Broker and Business Events
– http://www.ibm.com/developerworks/websphere/library/techarticles/1102_fan/1102_fan.ht
Extending WMB with Business Monitoring, Business Events and Business Rules 31
– http://www.ibm.com/developerworks/websphere/library/techarticles/1102_fan/1102_fan.ht
ml
– http://pic.dhe.ibm.com/infocenter/dmanager/v8r0/index.jsp?topic=%2Fcom.ibm.wodm.dserv
er.events.integrating%2Ftopics%2Fbroker.html
• WebSphere Message Broker and Business Rules;-
– http://www-01.ibm.com/support/docview.wss?uid=swg24032010
– http://www.youtube.com/watch?v=HlCnG7sFSvo
– http://www.youtube.com/watch?v=urHx5K1YP1s
THANK YOU!
Copyright and Trademarks
© IBM Corporation 2012. All Rights Reserved.
IBM, the IBM logo, ibm.com are trademarks or registered trademarks of International
Business Machines Corp., registered in many jurisdictions worldwide. Other product
and service names might be trademarks of IBM or other companies. A current list of
Extending WMB with Business Monitoring, Business Events and Business Rules 33
and service names might be trademarks of IBM or other companies. A current list of
IBM trademarks is available on the Web at “Copyright and trademark information” at
www.ibm.com/legal/copytrade.shtml.