Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-12845

Create a full Groovy DSL

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • 3.x
    • camel-groovy
    • Unknown

    Description

      It would be nice to have a nice dsl set up a camel context in groovy similar to what it is possible with Spring or Blueprint DSL, something like

      
      context {
          restConfiguration {
              ....
          }
      
         registry {
             bind 'myKey', 'myValue'
         }
      
         beans {
             bean('myProcessor') {
                 exchange -> exchange.in.body = 'hello'
             }
         }
      
          from(t'imer:tick')
              .to('log:end')
      }
      
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            lb Luca Burgazzoli
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: