Skip to content

Commit

Permalink
kamel run should support adding dependencies apache#49
Browse files Browse the repository at this point in the history
  • Loading branch information
lburgazzoli authored and oscerd committed Feb 21, 2019
1 parent 6bf7879 commit a5b3a25
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions examples/dns.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
//
// To run this integrations use:
//
// kamel run -d camel:dns runtime/examples/dns.js
//

from('timer:dns?period=1s')
.routeId('dns')
.setHeader('dns.domain')
.constant('www.google.com')
.to('dns:ip')
.to('log:dns')

0 comments on commit a5b3a25

Please sign in to comment.