Results 1 to 6 of 6

Thread: Java Message Service Broker

  1. #1
    Join Date
    Jul 2010
    Posts
    24

    Java Message Service Broker

    JMS has been integrated into the J2EE platform from version 1.3 , but there is no official implementation of this API prior to version 1.3 of J2EE. JMS can be used with earlier versions but it requires the use of an external tool that implements the API. The message broker or MOM ( Message Oriented Middleware ) ensure the exchange of messages between two components named customers. These exchanges can take place in a domestic setting ( for EAI ) or an external environment ( for B2B ). Can any body know moreabout about the Java Message Service Broker? Please help.

  2. #2
    Join Date
    Feb 2008
    Posts
    1,852

    Re: Java Message Service Broker

    The two clients do not exchange messages directly , a client sending a message and the receiving client must request the receipt of the message. The transfer of the message and its persistence is provided by the broker.
    The message exchanges are:
    * asynchronous:
    * reliable : messages are delivered only once and

  3. #3
    Join Date
    May 2008
    Posts
    2,297

    Re: Java Message Service Broker

    MOMs are the only way to make an exchange of asynchronous messages . They can also be very useful for the synchronous exchange of messages rather than using other more complicated mechanisms to implement (sockets , RMI , CORBA ...). The message broker can operate in two modes :
    * the point to point ( point to point)
    * how publish / subscribe ( publish / subscribe ).

  4. #4
    Join Date
    May 2008
    Posts
    2,389

    Re: Java Message Service Broker

    The messages are encapsulated in an object type javax.jms.Message : they are required to implement the Message interface or one of those subclasses. A message consists of three parts :

    * The header ( header ) : contains technical data
    * The properties ( properties ) : Contains Functional Data
    * Message body ( body ) : contains the message data

  5. #5
    Join Date
    Oct 2005
    Posts
    2,393

    Re: Java Message Service Broker

    The Session interface provides several methods createXXXMessage () to create messages containing data in the format XXX . There are also interfaces for each format girls Interface Message :

    * BytesMessage : message consists of bytes
    * MapMessage : message consisting of key / value pair
    * ObjectMessage : message containing a serialized object
    * StreamMessage : message from a stream
    * TextMessage : message containing the text

  6. #6
    Join Date
    Nov 2005
    Posts
    1,323

    Re: Java Message Service Broker

    The syntax of the JMS Message Selector is a subset of the SQL standard. In addition , it is not possible to make selection on the payload of the message ( or payload data ) .The JMS Message Selector can make selections on the following fields in the Header :
    JMSDeliveryMode , JMSPriority , JMSMessageID , JMSCorrelationID , and JMSType JMSTimestamp.

Similar Threads

  1. How to use HP t5325 Thin Clients with Session Broker
    By Mr.Ryszard in forum Hardware Peripherals
    Replies: 4
    Last Post: 12-02-2012, 01:38 PM
  2. Denial of Service attacks and other in Java
    By Talleen in forum Software Development
    Replies: 5
    Last Post: 29-07-2010, 05:41 AM
  3. Execute timer service in java
    By Messenger in forum Software Development
    Replies: 4
    Last Post: 20-07-2010, 01:27 PM
  4. What is Service Broker in MySQL
    By Enriquee in forum Software Development
    Replies: 5
    Last Post: 06-01-2010, 06:26 AM
  5. Alert Message in Java
    By Bhagwandas in forum Software Development
    Replies: 3
    Last Post: 09-12-2009, 08:45 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,035,525.53171 seconds with 17 queries