Class EdnJcaConnectionFactory
java.lang.Object
oracle.integration.platform.blocks.event.jms2.EdnJcaConnectionFactory
- All Implemented Interfaces:
BusinessEventConnectionFactory
This is typically for J2EE client with Oracle JMS adapter support/deployed.
This factory creates EdnJcaConnection, an EdnConnection implementation that
leverages JCA-based JMS adapter.
Prior to invoking the BusinessEventConnectionFactorySupport
.findRelevantBusinessEventConnectionFactory(boolean) method, the client needs
to configure and deploy (a set of) JMS adapters with fixed JNDI names to
point to SOA managed server that hosts EDN JMS server (WebLogic JMS server,
or Oracle AQ-JMS server).
- Since:
- 12.1.2
-
Constructor Summary
ConstructorsConstructorDescriptionEdnJcaConnectionFactory(Map<String, javax.resource.cci.ConnectionFactory> cfs, UserTransaction ut) Construct a EdnJcaConnectionFactory responsible for creating EdnJcaConnection. -
Method Summary
-
Constructor Details
-
EdnJcaConnectionFactory
public EdnJcaConnectionFactory(Map<String, javax.resource.cci.ConnectionFactory> cfs, UserTransaction ut) Construct a EdnJcaConnectionFactory responsible for creating EdnJcaConnection.- Parameters:
cfs- JMS Connection Factories used by JCA adapterAllowed keys are "edn.jca.xa-connection-factory", "edn.jca.durable.xa-connection-factory", "edn.jca.localtx-connection-factory" and "edn.jca.durable.localtx-connection-factory".
Values are JMS connection factory (used by JMS adapter) JNDI names for the corresponding key property.
ut- UserTransaction object to manage XA transaction
-
-
Method Details
-
createBusinessEventConnection
public BusinessEventConnection createBusinessEventConnection() throws oracle.fabric.common.FabricException- Specified by:
createBusinessEventConnectionin interfaceBusinessEventConnectionFactory- Throws:
oracle.fabric.common.FabricException
-