Messaging with Message Driven Beans

The figure shows two JMS message producers sending messages to destinations hosted by a JMS message service. These messages are then forwarded to an instance of a message driven bean which contains an onMessage method that is used to process incoming messages. The MDB instance is a JMS message consumer.