MessageDriven



Inherits from type EnterpriseBean and adds the following.

Attributes Summary
transactionType : TransactionTypeThe transaction-type element specifies an enterprise bean's transaction management type.
messageSelector : StringThe message-selector element is used to specify the JMS messageselector to be used in determining which messages a message-drivenbean is to receive.
acknowledgeMode : AcknowledgeModean optional declaration of the acknowledgment mode for the message-driven bean if bean-managed transaction demarcation is used (ie.
destination : MessageDrivenDestinationAn 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


Copyright IBM Corp. 1996-2002