SlideShare a Scribd company logo
1 of 10
Real world usages of JMS
message queues
Akila Mahesha Keerawella
JMS broker
implementations
Apache ActiveMQ
Apache Apollo
RabbitMQ
HornetQ
FFMQ
Apache Qpid
Why message queues
Message queues can be used as a mechanism to allow
asynchronous request processing.
When we have a job with long processing time, we can use
message queue to hold the requests
Distribute a massage among multiple systems
When there are totally decoupled systems, we can use message
queues to communicate between the systems
Example :
A JMS client can use to watch for different log messages and send the
messages for the different log processes. We can have different log processing
systems to identify security threats, trends of user actions, system issues etc.
To process system logs and alert
events(part 1 - log processing)
Queue
Log producer 1
Log producer 2
Security check
Trend analyzer
Issue analyzer
Example :
Let’s consider security check process, If the security check detects any threat,
then it can alert relevant personal with sending emails. Same as the security
check process, others can also use queue for alerting.
QueueSecurity Check
Person 1
Person 2
Person 3
To process system logs and alert
events(part 2 - alerting)
When a client buy product from e-commerce web site, main goal of the system is to complete the transaction and
allocate a product for him. Other than that there will be minor goals like, Sending product details as a mail, including
client into the loyalty program of the company, save customer information etc. System can push customer
information into a queue and complete the main goal, then queue will distribute the details into other programs and
they will complete the minor tasks independently decoupling with main task.
Example : Asynchronous request processing
Queue
Product Detail Email
Loyalty program
Store customer info
Client
E-Commerce
web site
Example :
When clients requesting a process that consume lot of time, then we can push
requests into a queue and then process the request and send a response back
when the processes completed.
QueueClient Processing
Time consuming process
In a customer service there will be few employees to reply for all customer
complains. In here all the clients request are pushed to a queue and then one
by one client will connect with an employee.
Example : Customer service chat application
Queue
Employee 1
Employee 2
Employee 3
Client 1
Client 2
Client 3
Example :
When clients sending SMS to a SMS application, the request are pushed to a
queue and dequeue when the SMS application ready and send a response back
QueueSMS Request SMS App
SMS based application
Thanks for watching

More Related Content

Similar to Real usages of jms message queues

The Art of Message Queues - TEKX
The Art of Message Queues - TEKXThe Art of Message Queues - TEKX
The Art of Message Queues - TEKX
Mike Willbanks
 
Java project titles
Java project titlesJava project titles
Java project titles
Ashly Liza
 
Mail tracker mini
Mail tracker miniMail tracker mini
Mail tracker mini
pendyam
 
Apache ActiveMQ and Apache Camel
Apache ActiveMQ and Apache CamelApache ActiveMQ and Apache Camel
Apache ActiveMQ and Apache Camel
Omi Om
 
ProposalRequirements document This is part 1 of the project, I .docx
ProposalRequirements document This is part 1 of the project, I .docxProposalRequirements document This is part 1 of the project, I .docx
ProposalRequirements document This is part 1 of the project, I .docx
denneymargareta
 
How Software Works in system environment
How Software Works in system environmentHow Software Works in system environment
How Software Works in system environment
ItcHcm1
 
PROJECT ARRANGED (FINAL)
PROJECT ARRANGED (FINAL)PROJECT ARRANGED (FINAL)
PROJECT ARRANGED (FINAL)
Joseph Olumide
 
Differences Between Architectures
Differences Between ArchitecturesDifferences Between Architectures
Differences Between Architectures
prasadsmn
 
Interview Questions For Microsoft Dynamics CRM
Interview Questions For Microsoft Dynamics CRMInterview Questions For Microsoft Dynamics CRM
Interview Questions For Microsoft Dynamics CRM
Kumari Warsha Goel
 
Service usage classification with encrypted
Service usage classification with encryptedService usage classification with encrypted
Service usage classification with encrypted
Kamal Spring
 

Similar to Real usages of jms message queues (20)

The Art of Message Queues - TEKX
The Art of Message Queues - TEKXThe Art of Message Queues - TEKX
The Art of Message Queues - TEKX
 
Java project titles
Java project titlesJava project titles
Java project titles
 
Mail tracker mini
Mail tracker miniMail tracker mini
Mail tracker mini
 
Apache ActiveMQ and Apache Camel
Apache ActiveMQ and Apache CamelApache ActiveMQ and Apache Camel
Apache ActiveMQ and Apache Camel
 
IBM MQ Series For ZOS
IBM MQ Series For ZOSIBM MQ Series For ZOS
IBM MQ Series For ZOS
 
sat_presentation
sat_presentationsat_presentation
sat_presentation
 
ProposalRequirements document This is part 1 of the project, I .docx
ProposalRequirements document This is part 1 of the project, I .docxProposalRequirements document This is part 1 of the project, I .docx
ProposalRequirements document This is part 1 of the project, I .docx
 
Synchronous and asynchronous software communication components
Synchronous and asynchronous software communication componentsSynchronous and asynchronous software communication components
Synchronous and asynchronous software communication components
 
How Software Works in system environment
How Software Works in system environmentHow Software Works in system environment
How Software Works in system environment
 
Dot Net performance monitoring
 Dot Net performance monitoring Dot Net performance monitoring
Dot Net performance monitoring
 
PROJECT ARRANGED (FINAL)
PROJECT ARRANGED (FINAL)PROJECT ARRANGED (FINAL)
PROJECT ARRANGED (FINAL)
 
Differences Between Architectures
Differences Between ArchitecturesDifferences Between Architectures
Differences Between Architectures
 
Nt1330 Unit 7
Nt1330 Unit 7Nt1330 Unit 7
Nt1330 Unit 7
 
Interview Questions For Microsoft Dynamics CRM
Interview Questions For Microsoft Dynamics CRMInterview Questions For Microsoft Dynamics CRM
Interview Questions For Microsoft Dynamics CRM
 
South Florida Community Chapter Presents Communications Mining
South Florida Community Chapter Presents Communications MiningSouth Florida Community Chapter Presents Communications Mining
South Florida Community Chapter Presents Communications Mining
 
South Florida Community Chapter Presents Communications Mining
South Florida Community Chapter Presents Communications MiningSouth Florida Community Chapter Presents Communications Mining
South Florida Community Chapter Presents Communications Mining
 
Mail server_Synopsis
Mail server_SynopsisMail server_Synopsis
Mail server_Synopsis
 
Your data is in Prometheus, now what? (CurrencyFair Engineering Meetup, 2016)
Your data is in Prometheus, now what? (CurrencyFair Engineering Meetup, 2016)Your data is in Prometheus, now what? (CurrencyFair Engineering Meetup, 2016)
Your data is in Prometheus, now what? (CurrencyFair Engineering Meetup, 2016)
 
Service usage classification with encrypted
Service usage classification with encryptedService usage classification with encrypted
Service usage classification with encrypted
 
Importance of software quality assurance to prevent and reduce software failu...
Importance of software quality assurance to prevent and reduce software failu...Importance of software quality assurance to prevent and reduce software failu...
Importance of software quality assurance to prevent and reduce software failu...
 

Recently uploaded

Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
VictoriaMetrics
 
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
masabamasaba
 
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
chiefasafspells
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
masabamasaba
 

Recently uploaded (20)

Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the past
 
WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?
 
%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto
 
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
 
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
 
tonesoftg
tonesoftgtonesoftg
tonesoftg
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
 
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
 
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With SimplicityWSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
 
WSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security ProgramWSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security Program
 
WSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go Platformless
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
 
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
 

Real usages of jms message queues

  • 1. Real world usages of JMS message queues Akila Mahesha Keerawella
  • 2. JMS broker implementations Apache ActiveMQ Apache Apollo RabbitMQ HornetQ FFMQ Apache Qpid
  • 3. Why message queues Message queues can be used as a mechanism to allow asynchronous request processing. When we have a job with long processing time, we can use message queue to hold the requests Distribute a massage among multiple systems When there are totally decoupled systems, we can use message queues to communicate between the systems
  • 4. Example : A JMS client can use to watch for different log messages and send the messages for the different log processes. We can have different log processing systems to identify security threats, trends of user actions, system issues etc. To process system logs and alert events(part 1 - log processing) Queue Log producer 1 Log producer 2 Security check Trend analyzer Issue analyzer
  • 5. Example : Let’s consider security check process, If the security check detects any threat, then it can alert relevant personal with sending emails. Same as the security check process, others can also use queue for alerting. QueueSecurity Check Person 1 Person 2 Person 3 To process system logs and alert events(part 2 - alerting)
  • 6. When a client buy product from e-commerce web site, main goal of the system is to complete the transaction and allocate a product for him. Other than that there will be minor goals like, Sending product details as a mail, including client into the loyalty program of the company, save customer information etc. System can push customer information into a queue and complete the main goal, then queue will distribute the details into other programs and they will complete the minor tasks independently decoupling with main task. Example : Asynchronous request processing Queue Product Detail Email Loyalty program Store customer info Client E-Commerce web site
  • 7. Example : When clients requesting a process that consume lot of time, then we can push requests into a queue and then process the request and send a response back when the processes completed. QueueClient Processing Time consuming process
  • 8. In a customer service there will be few employees to reply for all customer complains. In here all the clients request are pushed to a queue and then one by one client will connect with an employee. Example : Customer service chat application Queue Employee 1 Employee 2 Employee 3 Client 1 Client 2 Client 3
  • 9. Example : When clients sending SMS to a SMS application, the request are pushed to a queue and dequeue when the SMS application ready and send a response back QueueSMS Request SMS App SMS based application