What are the various message types supported by JMS?
Stream Messages - Group of Java Primitives Map Messages - Name Value Pairs. Name being a string& Value being a java primitive Text Messages - String messages... Read more »
Stream Messages - Group of Java Primitives Map Messages - Name Value Pairs. Name being a string& Value being a java primitive Text Messages - String messages... Read more »
It is according to the specification that the message sent should be received in the same format. A non-java client cannot receive a message in the form of java... Read more »
MDB is Message driven bean, which very much resembles the Stateless session bean. The incoming and out going messages can be handled by the Message driven bean.... Read more »
There are two kinds of Messaging. Synchronous Messaging: Synchronous messaging involves a client that waits for the server to respond to a message. Asynchronous... Read more »
Each JMS-enabled client must establish the following: • A connection object provided by the JMS server (the message broker) • Within a connection, one or more... Read more »
JMS is loosely coupled and RMI (remote method invocation) is tightly coupled (dependency between objects). In RMI, the senders have to wait for the immediate response... Read more »
1) Point-to-Point 2) Publish and Subscribe. Point-to-Point messaging consists of queues, senders and receivers. A message can be received by only one receiver. Receiver... Read more »
Consumers can filter messages using message selector. Developer has to specify a message selector (String) as an argument when we create a message consumer. createConnectionConsumer... Read more »
Using “durable subscription”, the subscribers can receive messages sent even when the subscribers are not active. ConnectionConsumer createDurableConnectionConsumer(…) This... Read more »
Header, Properties and Body. Read more »
Message identification and routing information. Read more »
StreamMessage, MapMessage (key-value pair), BytesMessage, TextMessage and ObjectMessage (serialized objects). Read more »
Use the JNDI to get a ConnectionFactory and Destination Object (either Queue or Topic).Create a Connection object. Create a Session object. Create MessageProducer... Read more »
Use the JNDI to get a ConnectionFactory and Destination Object (either Queue or Topic).Create a Connection object. Create a Session object. Create MessageConsumer... Read more »
1)Acknowledgment by commit. – Acknowledgement happens automatically when a transaction is committed. 2)Session.AUTO_ACKNOWLEDGE 3)Session.CLIENT_ACKNOWLEDGE –... Read more »
All consumed messages are re-delivered. Read more »
The JMS provider handles security of the messages, data conversion and the client triggering. The JMS provider specifies the level of encryption and the security... Read more »
No, You cannot change the transaction isolation level in the middle of transaction. Read more »
ServletContext: Gives the information about the container. PageContext: Gives the information about the Request Read more »
A preconfigured JMS object (a resource manager connection factory or a destination) created by an administrator for the use of JMS clients and placed in a JNDI namespace. Read more »