Sun Java System Application Server Platform Edition 8.1 2005Q2 Update 2 Developer's Guide

- Previous: max-wait-time-in-millis
- Next: mdb-resource-adapter

## mdb-connection-factory

Specifies the connection factory associated with a message-driven bean. Queue or Topic type must be consistent with the Java Message Service Destination type associated with the message-driven bean class.

### Superelements

ejb (`sun-ejb-jar.xml`)

### Subelements

The following table describes subelements for the `mdb-connection-factory` element.

Table A–63 `mdb-connection-factory` Subelements

Element | Required | Description
--- | --- | ---
jndi-name | only one | Specifies the absolute `jndi-name`.
default-resource-principal | zero or one | Specifies the default sign-on (name/password) to the resource manager.

- Previous: max-wait-time-in-millis
- Next: mdb-resource-adapter

- © 2010, Oracle Corporation and/or its affiliates