Re: Issues related to ManagedConnectionFactory and cci.ConnectionFactory

Ram Jeyaraman <[email protected]> Thu, 7 Aug 2003 11:39:37 -0700
Newsgroups gmane.comp.java.sun.connector
Organization JavaSoft, Sun Microsystems Inc.
Message-ID <[email protected]>
> 1. I have a requirement of configuring multiple ManagedConnectionFactory
> (MCF) in my Outbound Resource Adapter wherein each MCF would have
> different values of the configuration property.
>
> For example, the configuration of the ManagedConnectionFactory requires
> 2 parameters - parameter1 and parameter2. And I am having 5 different
> values for these parameters. How do I pass these 5 different values of
> the parameters through the deployments descriptor with
> <config-property-name> being parameter1 and parameter2.

Sandeep, to help me better understand your question - are you saying that the
resource adapter requires 5 different values to be configured for the same
property for a single deployment? That does not seem correct.

> 2. I understand that MCF are very closely tied to cci.ConnectionFactory
> and infact MCF is the factory for ConnectionFactory. But I am looking at
> configuring different instances of MCF but the cci.ConnectionFactory for
> these would be the same. I wanted to have one only
> cci.ConnectionFactory, so that I am not required to have multiple JNDI
> registrations and also because from an implementation perspective, based
> on the passed values of the parameters to the MCF, the
> createManagedConnection() would behave differently.

i am having a hard time parsing your question above. Let me try. One possible
way to do this would be to use a single connection-definition, and to configure
each MCF instance with different property values during deployment. thanks.

===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff CONNECTOR-INTEREST".  For general help, send email to
[email protected] and include in the body of the message "help".