Follow below Article to understand more about Message Bus in Liferay.
http://www.liferaysavvy.com/2021/07/working-with-liferay-message-bus.html
Implementation Steps
- Create Destination Configuration
- Create Destination
- Register Destination as OSGi Service
- Manage the Destination Object
- Register Listener
- Send Message to Destination
GitHub Project
https://github.com/LiferaySavvy/liferay-messagebus-example
Module Implementation
Module demonstrates to create different types of
message bus destinations and different ways to register listeners with message
bus.
Module have simple UI screens to send messages on
Message Bus and view the statistics of each message bus destination.
Software Stack
Liferay-ce-portal-7.4.1-ga2 Liferay
Developer Studio-3.9.3-ga4 |
Prerequisite
Ready with Portal Server and Liferay Workspace.
Deploy and Run
Import Liferay Module in your Liferay Workspace. Run build
and deploy gradle tasks
Deploy module jar file in your OSGi deployment
directory by running gradle deploy task or also copy manually to “osgi\modules”
directory
.
Access Liferay Portal from Browser
|
Login as Liferay Admin
Create Page in Liferay and Add Widget (LiferayMessageBus)
to the page
Access “Send Message” screen.
Send Message with below UI screen. Message will be sent
to Message Bus on specified destination.
Once message sent on message bus then listeners will
be receiving the messages.
We can see the logs of listeners on console logs which
prints the message object. We will implemented listeners based on real time
requirements.
Access Destination Statistics UI screen.
Select Destination from dropdown, it will show the
statistics of destination.
I can see that you are an expert at your field! I am launching a website soon, and your information will be very useful for me.. Thanks for all your help and wishing you all the success .. 바카라사이트
ReplyDelete온라인카지노 Thanks so very much for taking your time to create this very useful and informative site. I have learned a lot from your site.
ReplyDeleteClients are drawn in to flat-panel modern-day innovations for their wall-mounting abilities, yet the issue of such an installation generally leads them to uncover alternatives such as stands or vendor arrangements," asserted Ross Rubin, manager of industry examination, The NPD Group read here.
ReplyDeleteAlso, you should consider Typeform alternative as well if you are looking for open source projects!
ReplyDeleteamb bet เว็บไซต์เดิมพันออนไลน์ครบวงจร เว็บตรงไม่ผ่านเอเย่นต์ ศูนย์รวมเกมเดิมพัน เกมทุกรูปแบบมีให้ผู้เล่นได้เลือกทำเงินมากกว่า 1000 เกม สล็อต บาคาร่า คาสิโน ครบหมด !! ค่ายดังชั้นนำ ลิขสิทธิ์เเท้ 100% สามารถเล่นได้ทุกเกม โดยไม่ต้องดาวน์โหลด ทำเงินได้ตลอด 24 ชั่วโมง สร้างเงิน ทำกำไรได้ง่ายๆ ผ่านหน้าจอโทรศัพท์มือถือ สะดวก รวดเร็วด้วยระบบมาตรฐานสากล เว็บเดียวจบครบทุกวงจร.
ReplyDelete