Guest User

Untitled

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