Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #DB of puppies
- postgres.puppies.user=mule
- postgres.puppies.password=password
- postgres.puppies.host=db-1
- postgres.puppies.db=mule-global-sandbox
- #DB of cars
- postgres.cars.user=mule
- postgres.cars.password=password
- postgres.cars.host=db-2
- postgres.cars.db=mule-global-sandbox
- #[message.inboundProperties.'http.query.params'.db-name.toUpperCase().equals('puppies-db')]
- %dw 1.0
- %output application/java
- ---
- p("postgres.puppies.user")
- %dw 1.0
- %output application/java
- ---
- {
- user : p("postgres.puppies.user")
- password : p("postgres.puppies.password")
- host : p("postgres.puppies.host")
- db : p("postgres.puppies.db")
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement