Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <jdbc:derby-data-source name="Derby_Data_Source" url="jdbc:derby:memory:exampleEmbeddedDB;create=true" transactionIsolation="UNSPECIFIED" create="true" doc:name="Derby Data Source"/>
- <jdbc:connector name="Database__JDBC_Derby" dataSource-ref="Derby_Data_Source" validateConnections="true" queryTimeout="-1" pollingFrequency="0" doc:name="Database (JDBC)">
- <jdbc:query key="update" value="UPDATE Items SET QUANTITY=#[ognl:quantity] WHERE ID=#[ognl:itemId]"/>
- <jdbc:query key="select" value="SELECT QUANTITY FROM Items WHERE ID = #[ognl:itemId]"/>
- </jdbc:connector>
- <spring:beans>
- <spring:bean id="SetupDatabaseNotificationListener" class="com.mulesoft.examples.stockmanagement.SetupDatabaseNotificationListener" doc:name="Bean"/>
- </spring:beans>
- <notifications>
- <notification event="CONTEXT"/>
Add Comment
Please, Sign In to add comment