• No results found

Understanding WAS V8.5 Publish Subscribe

N/A
N/A
Protected

Academic year: 2022

Share "Understanding WAS V8.5 Publish Subscribe"

Copied!
24
0
0

Loading.... (view fulltext now)

Full text

(1)

WebSphere® Support Technical Exchange

Ask the Experts

Understanding WAS V8.5 Publish Subscribe

21 August 2013

(2)

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

(3)

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

(4)

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 all

version of WebSphere Application Server V6.0 and above.

(5)

Question 1



How do Topics and Topic Spaces relate to each other?

(6)

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.

(7)

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

.

(8)

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?

(9)

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

(10)

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.

(11)

Question 3



How are Topic space Mappings used?

(12)

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:

(13)

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

(14)

WebSphere® Support Technical Exchange 14

WebSphere® Support Technical Exchange 14

Question 4



What is a Publish Subscribe Broker Profile?

(15)

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 profile

(16)

WebSphere® Support Technical Exchange 16

WebSphere® Support Technical Exchange 16

Question 5



What happens to a message when it is published?

(17)

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.

(18)

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 Bus

(19)

Answer 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.

(20)

WebSphere® Support Technical Exchange 20

WebSphere® Support Technical Exchange 20

Open Lines for Questions

(21)

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

(22)

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.

(23)

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

(24)

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

References

Related documents

Auslander-Reiten conjecture, Auslander-Reiten duality, maximal Cohen- Macaulay module, totally reflexive module, Auslander condition, Auslander-Reiten condition,

But in fact, settlors rarely, if ever, waive the duty of loyalty protec- tions by providing that corporate law will govern trustee's self-dealing

Through interviews with key stakeholders within Qatar’s sport system, fieldwork, and the analysis of key documents and secondary materials, we have uncovered that the use of

Above we have shown that the Vickers hardness of a compound can be computed with reasonable accuracy via Teter ’ s equation using the shear modulus obtained with a ML algorithm,

• all of the gummed Australian stamps and miniature sheets issued throughout 2008 • a special presentation sheetlet (only available with the collection) of the Beijing

The next section briefly discusses rice development in Africa and Nigeria while the information on Ogun State and the Local Government Areas where rice is produced are contained

Miller Legg referenced the following projects: Broward County North Andrews Garden Neighborhood Improvement Project (NIP-water, sewer, stormwater, landscaping) Bid Packages 7,

ving motive and cost, the cost of precautionary saving effect is stronger in an aggregate fluctuations setting than in an idiosyncratic risk setting.. Thus the optimal level of