Mule is really neato but the rigid shared xsd stuff with spring never seems to play nice.
The horrible documentation offered up by Mulesoft is continuing to be...Horrible.
I am trying to get a connection pool setup since each query that runs for my service simple takes too long to instantiate. I am forced to fire up 9 queries per service call and the lag from not having a pool affects performance in a bad way. For the dataSource I have tried many different oracle v6 classes but I always seem to get the "cannot write param due to missing setter" error. It's as if the spring property editor impl was forced out of the mulesoft xml schema.
If anyone has been able to make an oracle connection pool work with oracle classes and not c3p0 or dbcp stuff please hook a brother up.
Here is my xml soup.
<spring:beans>
<context:property-placeholder xmlns:context="http://www.springframework.org/schema/context" location="classpath:somepropfile.properties"></context:property-placeholder>
<spring:bean id="jdbcDataSource" name="jdbcConnectionInfo" class="oracle.jdbc.pool.OraclePooledConnection" doc:name="Bean">
<spring:property name="url" value="${JDBC.URL}"/>
<spring:property name="username" value="${JDBC.user}"/>
<spring:property name="password" value="${JDBC.password}"/>
<spring:property name="connectionCacheProperties" ref="cacheProperties"/>
</spring:bean>
<spring:bean id="cacheProperties" name="cacheProps" class="com.erac.obr_mule.appsec.PoolCacheProperties" doc:name="Bean">
<spring:property name="validateConnection" value="true"/>
<spring:property name="maxLimit" value="5"/>
<spring:property name="inactivityTimeout" value="180"/>
<spring:property name="connectionWaitTimeout" value="120"/>
<spring:property name="minLimit" value="1"/>
<spring:property name="initialLimit" value="1"/>
</spring:bean>
</spring:beans>
<jdbc:connector name="JDBC" dataSource-ref="jdbcDataSource" queryTimeout="-1" pollingFrequency="0" doc:name="JDBC">
<jdbc:query key="getMuhDatasHooker" value=" BUNCH O SQL " />
</jdbc:connector>