Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <web-app>
- <display-name>Archetype Created Web Application</display-name>
- <context-param>
- <param-name>contextConfigLocation</param-name>
- <param-value>file:///${camel.config.location}</param-value>
- <description> location of spring xml files</description>
- </context-param>
- <listener>
- <listener-
- class>org.springframework.web.context.ContextLoaderListener</listener-class>
- </listener>
- <!-- Oracle Database Connection -->
- <bean id="loaderDS"
- class="org.apache.commons.dbcp2.BasicDataSource" destroy- method="close" scope="singleton">
- <property name="driverClassName" value="oracle.jdbc.driver.OracleDriver" />
- <property name="url" value="jdbc:oracle:thin:@localhost:1521:xe" />
- <property name="username" value="Dataloader" />
- <property name="password" value="Dataloader" />
- <property name="initialSize" value="4"/>
- <property name="maxTotal" value="32"/>
- <property name="maxIdle" value="16"/>
- <property name="minIdle" value="8"/>
- <property name="timeBetweenEvictionRunsMillis" value="1800"/>
- <property name="minEvictableIdleTimeMillis" value="1800"/>
- <property name="testOnBorrow" value="true"/>
- <property name="testWhileIdle" value="true"/>
- <property name="testOnReturn" value="true"/>
- <property name="testOnCreate" value="true"/>
- <property name="validationQuery" value="SELECT 1 from dual"/>
- <property name="maxWaitMillis" value="1000"/>
- <property name="removeAbandonedOnBorrow" value="true"/>
- <property name="removeAbandonedOnMaintenance" value="true"/>
- <property name="removeAbandonedTimeout" value="30000"/>
- <property name="fastFailValidation" value="true"/>
- </bean>
- <camelContext xmlns="http://camel.apache.org/schema/spring" depends- on="loaderDS" >
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement