Extended messaging - receiving messages

To receive messages, applications that use extended messaging use a receiver bean, which can be a message-driven bean or a session bean:

An application calling a receiver bean to receive messages from a JMS destination defined by an input port and to send a reply by the ReplySender() method of the receiver bean.
Receiving messages with extended messaging. This figure shows an application calling a receiver bean (as a session bean) to receive messages from the JMS destination defined on an input port. The application also calls the ReplySender() method of the receiver bean to send a reply to the original message received. For more information about what is shown in this figure, see the text that accompanies this figure.

When a receiver bean gets a message, it can invoke another method passing either the JMS Message, or a set of parameters extracted from the message content. The invoked method can be contained in the receiver bean or in another enterprise bean (which is the preferred application structure). If data mapping is used, the method invoked by a receiver bean is unaware of the original JMS message.

In addition to receiving messages, extended messaging enables applications to reply to received messages in either of the following ways:

If a receiver bean gets a JMS message, then depending upon the programming model (associated with the receiver bean by WebSphere Studio), one of the following interactions occurs:


Related concepts
Extended messaging - sending messages
Extended messaging - handling late responses
Extended messaging - data mapping
Extended messaging - transactional support
Extended messaging - exception handling
Extended messaging - application usage scenarios



Searchable topic ID:   cmc_ovw04
Last updated: Jun 21, 2007 8:07:48 PM CDT    WebSphere Business Integration Server Foundation, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.wasee.doc/info/ee/cmm/concepts/cmc_ovw04.html

Library | Support | Terms of Use | Feedback