Guest User

Untitled

a guest
Jan 22nd, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1.  
  2. <jdbc:connector name="jdbcConnector" dataSource-ref="jdbcDataSource">
  3. <jdbc:query key="updateShippingTimes" value="UPDATE orders set estimatedShipping = #[payload:options:b] WHERE sellableId = #[payload:sellable:sellableId]"/>\
  4. </jdbc:connector>
  5.  
  6. payload:options:b is wrong.. what should it be to get the second entry in the hash?
  7.  
  8. I'm not sure if payload:sellable:sellableId is correct either...
  9.  
  10. Called by soemething like
  11.  
  12. <opensky:flow name="Shipment Time Change" loggingCategory="com.opensky.osis.trebuchet" overrideLoggingCategory="true">
  13. <vm:inbound-endpoint path="sellable.estimated_shipping_change"/>
  14.  
  15. <json:json-to-object-transformer returnClass="java.util.HashMap" />
  16. <jdbc:outbound-endpoint queryKey="updateShippingTimes"/>
  17. </opensky:flow>
Add Comment
Please, Sign In to add comment