
Chapter 8 Creating J2EE Applications for BEA WebLogic
Message Driven Bean Extended attributes
A message-driven bean is a special kind of EJB that acts as a message consumer in the WebLogic JMS messaging system. As with standard JMS message consumers, message-driven beans receive messages from a JMS Queue or Topic, and perform business logic based on the message contents.
EJB deployers create listeners to a Queue or Topic at deployment time, and WebLogic Server automatically creates and removes message-driven bean instances as needed to process incoming messages.
- Free pool: The pool element is used to specify various options for instance pooling
- max-beans-in-free-pool (Component extended attribute)
- initial-beans-in-free-pool (Component extended attribute)
- Destination jndi name: The destination-jndi-name element specifies the JNDI name used to associate a message-driven bean with an actual JMS Queue or Topic deployed in the in WebLogic Server JNDI tree.
- destination-jndi-name (Component extended attribute)
- Initial context factory: The initial-context-factory element specifies the initial contextFactory that the container will use to create its connection factories. If initial-context-factory is not specified, the default will be weblogic.jndi.WLInitialContextFactory.
- initial-context-factory (Component extended attribute)
- Provider url: The provider-url element specifies the URL provider to be used by the InitialContext. Typically, this is the host : port and used in conjunction with initial-context-factory and connection-factory-jndi-name.
- provider-url (Component extended attribute)
- Connection factory jndi name: The connection-factory-jndi-name element specifies the JNDI name of the JMS ConnectionFactory that the Message Driven Bean should look up to create its queues and topics. If this element is not specified, the default will be the weblogic.jms.MessageDrivenBeanConnectionFactory in config.xml.
- connection-factory-jndi-name (Component extended attribute)
- JMS messaging system:
- jms-polling-interval-seconds (Component extended attribute)
- jms-client-id (Component extended attribute)
Copyright (C) 2005. Sybase Inc. All rights reserved.
|
|