MessageDriven


This type is a class for model objects.

The message-driven element declares a message-driven bean. The declaration consists of: - an optional description - an optional display name - an optional icon element that contains a small and a large icon file name. - a name assigned to the enterprise bean in the deployment descriptor - the message-driven bean's implementation class - an optional declaration of the bean's messaging type - the message-driven bean's transaction management type - an optional declaration of the bean's message-destination-type - an optional declaration of the bean's message-destination-link - an optional declaration of the message-driven bean's activation configuration properties - an optional declaration of the bean's environment entries - an optional declaration of the bean's EJB references - an optional declaration of the bean's local EJB references - an optional declaration of the bean's web service references - an optional declaration of the security identity to be used for the execution of the bean's methods - an optional declaration of the bean's resource manager connection factory references - an optional declaration of the bean's resource environment references. - an optional declaration of the bean's message destination references

Package: ejb
Supertype: EnterpriseBean

Classifier ID:  -1
Instance class name:  * Unspecified *
Instance class:  * Unspecified *

Reference attributes having this type:
  MessageDrivenDestination.bean



Attributes Summary
transactionType : 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
messageSelector : EString The message-selector element is used to specify the JMS message selector to be used in determining which messages a message-driven bean is to receive. Example value: JMSType = `car' AND color = `blue' AND weight > 2500
acknowledgeMode : 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
link : EString - an optional declaration of the bean's message-destination-link
destination : MessageDrivenDestination @ @version J2EE1.4 deprecated, becomes activationConfig An optional declaration of the intended destination type of the message-driven bean
activationConfig : ActivationConfig @ @version J2EE1.4
messageDestination : JavaClass @ @version J2EE1.4
messagingType : JavaClass @ @version J2EE1.4 The messaging-type element specifies the message listener interface of the message-driven bean. If the messaging-type element is not specified, it is assumed to be javax.jms.MessageListener.



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:
        0 - Bean
        1 - Container
    Required:  false
    Changeable:  true
    Unsettable:  true
    Many:  false
    Ordered:  true
    Lower bound:  0
    Upper bound:  1
    Unique:  true
    Derived:  false
    Transient:  false
    Volatile:  false

messageSelector  -  The message-selector element is used to specify the JMS message selector to be used in determining which messages a message-driven bean is to receive. Example value: JMSType = `car' AND color = `blue' AND weight > 2500
    Data Type: EString
    Default value:  unspecified
    Required:  false
    Changeable:  true
    Unsettable:  false
    Many:  false
    Ordered:  true
    Lower bound:  0
    Upper bound:  1
    Unique:  true
    Derived:  false
    Transient:  false
    Volatile:  false

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:
        0 - AutoAcknowledge
        1 - DupsOkAcknowledge
    Required:  false
    Changeable:  true
    Unsettable:  true
    Many:  false
    Ordered:  true
    Lower bound:  0
    Upper bound:  1
    Unique:  true
    Derived:  false
    Transient:  false
    Volatile:  false

link  -  - an optional declaration of the bean's message-destination-link
    Data Type: EString
    Default value:  unspecified
    Required:  false
    Changeable:  true
    Unsettable:  false
    Many:  false
    Ordered:  true
    Lower bound:  0
    Upper bound:  1
    Unique:  true
    Derived:  false
    Transient:  false
    Volatile:  false

destination  -  @version J2EE1.4 deprecated, becomes activationConfig An optional declaration of the intended destination type of the message-driven bean
    Reference Type: MessageDrivenDestination @
    Containment:  true
    Container:  false
    Required:  false
    Changeable:  true
    Unsettable:  false
    Many:  false
    Ordered:  true
    Lower bound:  0
    Upper bound:  1
    Unique:  true
    Derived:  false
    Transient:  false
    Volatile:  false
    Opposite: MessageDrivenDestination.bean

activationConfig  -  @version J2EE1.4
    Reference Type: ActivationConfig @
    Containment:  true
    Container:  false
    Required:  false
    Changeable:  true
    Unsettable:  false
    Many:  false
    Ordered:  true
    Lower bound:  0
    Upper bound:  1
    Unique:  true
    Derived:  false
    Transient:  false
    Volatile:  false

messageDestination  -  @version J2EE1.4
    Reference Type: JavaClass @
    Containment:  false
    Container:  false
    Required:  false
    Changeable:  true
    Unsettable:  false
    Many:  false
    Ordered:  true
    Lower bound:  0
    Upper bound:  1
    Unique:  true
    Derived:  false
    Transient:  false
    Volatile:  false

messagingType  -  @version J2EE1.4 The messaging-type element specifies the message listener interface of the message-driven bean. If the messaging-type element is not specified, it is assumed to be javax.jms.MessageListener.
    Reference Type: JavaClass @
    Containment:  false
    Container:  false
    Required:  false
    Changeable:  true
    Unsettable:  false
    Many:  false
    Ordered:  true
    Lower bound:  0
    Upper bound:  1
    Unique:  true
    Derived:  false
    Transient:  false
    Volatile:  false



(C) COPYRIGHT International Business Machines Corp. 1996-2006