Advertisement
Guest User

Untitled

a guest
Aug 25th, 2017
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. #DB of puppies
  2. postgres.puppies.user=mule
  3. postgres.puppies.password=password
  4. postgres.puppies.host=db-1
  5. postgres.puppies.db=mule-global-sandbox
  6.  
  7. #DB of cars
  8. postgres.cars.user=mule
  9. postgres.cars.password=password
  10. postgres.cars.host=db-2
  11. postgres.cars.db=mule-global-sandbox
  12.  
  13. #[message.inboundProperties.'http.query.params'.db-name.toUpperCase().equals('puppies-db')]
  14.  
  15. %dw 1.0
  16. %output application/java
  17. ---
  18. p("postgres.puppies.user")
  19.  
  20. %dw 1.0
  21. %output application/java
  22. ---
  23. {
  24. user : p("postgres.puppies.user")
  25. password : p("postgres.puppies.password")
  26. host : p("postgres.puppies.host")
  27. db : p("postgres.puppies.db")
  28. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement