Wednesday, January 11, 2017

JMS Basics

1)  What is Java Message Service?

 An enterprise messaging system enables applications to communicate with one another through the exchange of messages.

2)  Major Components of JMS

        a) JMS servers

 JMS servers that can host a defined set of modules and any associated persistent storage that reside on a WebLogic Server instance

        b) JMS modules

 JMS modules contains configuration resources (such as queues, topics, and connections factories) and are defined by XML documents that conform to the weblogic-jms.xsd schema

        c) Client JMS applications

Client JMS applications that either produce messages to destinations or consume messages from destinations.

        d) JNDI

JNDI (Java Naming and Directory Interface), which provides a resource lookup facility. JMS resources such as connection factories and destinations are configured with a JNDI name.

        e) WebLogic persistent storage


WebLogic persistent storage (file store or JDBC-accessible) for storing persistent message data.


3)  Understanding  Messaging Models

      a) Point-to-Point Messaging(Message Queue)


          PTP messaging model enables the delivery of a message to exactly one recipient.




      b) Publish/Subscribe Messaging(Message Topic)

             Pub/sub messaging model enables the delivery of a message to multiple recipients.




Reference Document: https://docs.oracle.com/cd/E13222_01/wls/docs103/jms/fund.html

2 comments:

  1. Which one is better to use file-store or JDBC store and why?

    ReplyDelete
    Replies
    1. Hi Basu,

      JDBC is better because for jdbc you can use clustered database

      ReplyDelete

      Delete