WebSphere® Support Technical Exchange
Ask the Experts
Understanding WAS V8.5 Publish Subscribe
21 August 2013
WebSphere® Support Technical Exchange 22
Agenda
Introduce the panel of experts
Introduce SIB Publish/Subscribe Topics
Answer questions submitted by email (5 questions)
Open telephone lines for questions
Summarize highlights
Panel of Experts
Panelist Role at IBM
Paul O'Donnell Senior Software Engineer Jhansi Kolla Staff Software Engineer
Padmashree Sampathkumar
Software Developer
Anil K Maddipatla Software Developer
WebSphere® Support Technical Exchange 4
Introduction
In our discussion today, we would be covering a brief introduction to Publish Subscribe mechanism and the common questions around:Topics and Topic Spaces
Remote Publication Points
Broker Profiles
Message flow
This presentation is applicable for all platforms and allversion of WebSphere Application Server V6.0 and above.
Question 1
How do Topics and Topic Spaces relate to each other?WebSphere® Support Technical Exchange 6
Answer to Question 1
Topic is the JMS destination for Publish/Subscribe. Topic space is the SIBus destination for the Publish/Subscribe. A topic space is a hierarchy of publish/subscribe topics across the SIBus.Answer to Question 1 (continued)
Topic space is defined for the whole bus and is owned by the Bus. When a topic space is created in a Bus, a publication point gets automatically created on each messaging engine in that Bus.
WebSphere® Support Technical Exchange 8
WebSphere® Support Technical Exchange 8
Question 2
What is the difference between Remote Publication Points and Known Remote Publication Points?Answer to Question 2
A Remote Publication Point is a Publication Point of a remote messaging engine to which the messages published locally are sent. A Known Remote Publication Point (KRPP):Is a publication point on a remote messaging engine
Has a publishing application connected to it
Sends messages to the local messaging engine
KRPPs can be viewed through the admin console here:Service integration -> Buses -> bus_name -> [Topology] Messaging engines -> engine_name ->
Runtime -> [Message Points] Publication points -> identifier_name -> Runtime -> [Additional Properties] Known remote publication points
WebSphere® Support Technical Exchange 10
Answer to Question 2 (continued)
In this example, ME1 is the Known Remote Publication Point from the perspective of ME2 and ME3
ME2 and ME3 are the
Remote Publication Points to ME1.
Question 3
How are Topic space Mappings used?WebSphere® Support Technical Exchange 12
Answer to Question 3
A Topic Space Mapping (TSM) allows a subscriber to receive messages that are published on a foreign bus. The foreign bus can be adjacent, or indirectly connected through a hierarchy of buses and TSMs. TSMs are unidirectional TSMs are created using the bus link creation wizard. Check this box on the “Foreign bus details” panel:Answer to Question 3 (continued)
Subscriber on bus 1 receives publications from publisher on bus 2
Subscribers on buses 2 and 3 receive publications from publishers on buses 2 and 3, through bus 1
WebSphere® Support Technical Exchange 14
WebSphere® Support Technical Exchange 14
Question 4
What is a Publish Subscribe Broker Profile?Answer to Question 4
Bridge between WebSphere Application Server and a message broker in WebSphere MQ. Publish subscribe messaging on a WebSphere MQ link. Multiple profiles to connect to multiple queue managers. Topic mapping for broker profileWebSphere® Support Technical Exchange 16
WebSphere® Support Technical Exchange 16
Question 5
What happens to a message when it is published?Answer to Question 5 (continued)
There are four message flow scenarios in the SIB Publish/Subscribe model -
Subscriber is connected to the same ME where publisher is connected.
Subscriber is connected to the remote ME with in the same Bus.
Subscriber is connected to the remote Bus.
Remote subscribers.
WebSphere® Support Technical Exchange 18
Subscriber1 is connected to the same ME. Subscriber2 is connected to the different ME with in the same Bus Subscriber3 is connected to the remote BusAnswer to Question 5 (continued)
Remote Subscribers
Durable subscriber registered to one ME and later connect to a different ME to get the
messages.
Messages are routed to the ME where durable subscription home is registered.
The subscribing application would access its subscription through a remote subscription.
WebSphere® Support Technical Exchange 20
WebSphere® Support Technical Exchange 20
Open Lines for Questions
Connect with us!
1. Get notified on upcoming webcasts
Send an e-mail to [email protected] with subject line “wste subscribe” to get a list of mailing lists and to subscribe
2. Tell us what you want to learn
Send us suggestions for future topics or improvements about our webcasts to [email protected]
3. Be connected!
Connect with us on Facebook Connect with us on Twitter
WebSphere® Support Technical Exchange 2222
Summary
High level points of presentation
High level points of presentation:
Difference between topic and topic space.
What is a publication point, difference between the Remote Publication Point and Known Remote Publication Point.
Topic space mappings.
Publish Subscribe Broker Profile.
End to end message flow in pub/sub messaging model.
References and Useful Links (Optional)
Reference 1:
http://www.ibm.com/developerworks/websphere/community/
Reference 2:
http://www.ibm.com/software/websphere/events_1.html
Reference 3:
http://www.websphere.org
Reference 4:
http://www.ibm.com/software/info/education/assistant
Reference 5:
http://www.ibm.com/software/websphere/support/d2w.html
Reference 6:
http://www.ibm.com/software/support/einfo.html
WebSphere® Support Technical Exchange 24
WebSphere® Support Technical Exchange 24
Additional WebSphere Product Resources
Learn about upcoming WebSphere Support Technical Exchange webcasts, and access previously recorded presentations at:
http://www.ibm.com/software/websphere/support/supp_tech.html
Discover the latest trends in WebSphere Technology and implementation, participate in technically-focused briefings, webcasts and podcasts at:
http://www.ibm.com/developerworks/websphere/community/
Join the Global WebSphere Community:
http://www.websphereusergroup.org
Access key product show-me demos and tutorials by visiting IBM® Education Assistant:
http://www.ibm.com/software/info/education/assistant
View a webcast replay with step-by-step instructions for using the Service Request (SR) tool for submitting problems electronically:
http://www.ibm.com/software/websphere/support/d2w.html
Sign up to receive weekly technical My Notifications emails:
http://www.ibm.com/software/support/einfo.html