Mule Module support for the Java Persistence API
Configuration
To use the this module within a flow the namespace to the module must be included. The resulting flow will look similar to the following:
http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/current/mule.xsd http://www.mulesoft.org/schema/mule/jpa http://www.mulesoft.org/schema/mule/jpa/current/mule-jpa.xsd">
<!-- here goes your flows and configuration elements -->
This module is configured using the config element. This element must be placed outside of your flows and at the root of your Mule application. You can create as many configurations as you deem necessary as long as each carries its own name.
Each message processor, message source or transformer carries a config-ref attribute that allows the invoker to specify which configuration to use.
Attributes Type Name Default Value Description xs:string name Optional. Give a name to this configuration so it can be later referenced. entityManagerFactory Reference to an EntityManagerFactory