MessageDriven



Inherits from type EnterpriseBean and adds the following.


 

Attributes Summary

transactionType The transaction-type element specifies an enterprise bean's transaction management type.
messageSelector The message-selector element is used to specify the JMS messageselector to be used in determining which messages a message-drivenbean is to receive.
acknowledgeMode an optional declaration of the acknowledgment mode for the message-driven bean if bean-managed transaction demarcation is used (ie.
destination An optional declaration of the intended destination type of the message-driven bean

 

Attribute Details


transactionType

The transaction-type element specifies an enterprise bean's transaction management type.The transaction-type element must be one of the two following: Bean, Container

Data type:  TransactionType
Default value:   unspecified
Allowed Values:  Bean   Container  



messageSelector

The message-selector element is used to specify the JMS messageselector to be used in determining which messages a message-drivenbean is to receive.Example value: JMSType = `car' AND color = `blue' AND weight --> 2500

Data type:   String
Default value:   unspecified



acknowledgeMode

an optional declaration of the acknowledgment mode for the message-driven bean if bean-managed transaction demarcation is used (ie. self.transactionType = Bean)The acknowledge-mode specifies whether JMS AUTO_ACKNOWLEDGE or DUPS_OK_ACKNOWLEDGE message acknowledgment semantics should be used for the onMessage message of a message-driven bean that uses bean managed transaction demarcation.The acknowledge-mode must be one of the two following: Auto-acknowledge, Dups-ok-acknowledge

Data type:  AcknowledgeMode
Default value:   unspecified
Allowed Values:  AutoAcknowledge   DupsOkAcknowledge  



destination

An optional declaration of the intended destination type of the message-driven bean

Data type:  MessageDrivenDestination