@ejbgen:foreign-jms-provider Annotation

This tag specifies a non-BEA JMS provider for a message-driven bean.

Scope

Class tag on a message-driven bean.

Syntax

@ejbgen:foreign-jms-provider

[connection-factory-jndi-name="FactoryJNDIName"]

[initial-context-factory="InitialContext"]

provider-url="URL"

Attributes

connection-factory-jndi-name

Optional. Specifies the connection factory JNDI name, that is, the name of the connection factory object stored in JNDI.

initial-context-factory

Optional. Specifies the initial JNDI context factory, that is, the name of the class to perform lookup.

provider-url

Required. Specifies the provider URL, that is, the location of the directory information needed by the initial context factory.

Remarks

Use this tag to specify the foreign JMS provider, and use the @ejbgen:message-driven Annotation to specify the destination JNDI name. For detailed examples of using various foreign JMS providers with message-driven beans, see the white paper Using Foreign JMS Providers with WebLogic Server.

Related Topics

@ejbgen:message-driven Annotation

Getting Started with Message-Driven Beans