Apache Camel JBang - Reload quickly running Camel via copy/paste

Поделиться
HTML-код
  • Опубликовано: 7 ноя 2024

Комментарии • 7

  • @SagguUK
    @SagguUK Год назад +1

    Hey Claus, Live clipboard monitoring? Simply Wow. You are a magician my friend. Thanks a lot again for all the hard work if you put in to make Camel so user friendly.

  • @AntoineWils
    @AntoineWils Год назад

    That looks amazing, I will try to test it now. Thank you!

    • @AntoineWils
      @AntoineWils Год назад

      I can't find the 4.2 snapshot version. Is it available somewhere? I will present "why Camel has to be known" to my integration engineers colleagues. The clipboard reload would be so easy to demo Camel capabilities

    • @ClausIbsen
      @ClausIbsen  Год назад +1

      snapshots are automatic published to ASF snapshat repo, and camel-jbang should be able to use it.
      After installing jbang, and because the reload change also requires to use latest camel-jbang CLI then you need to adjust the local file afterwards (not super easy).
      In ~/.jbang/cache/urls
      You have sub folders, and in one of these you can find CamelJBang.java, edit this file and change version from 4.1.0 to 4.2.0-SNAPSHOT for the camel version.
      Then you will use SNAPSHOT in both CLI and runtime.
      BTW you can change camel runtime version easily from CLI with
      camel version set
      Or when you run, eg
      camel run foo.yaml --camel-version=4.0.1
      See the documentation on the website
      @@AntoineWils

    • @ClausIbsen
      @ClausIbsen  Год назад +1

      This is what my local file has now
      //DEPS org.apache.camel:camel-bom:${camel.jbang.version:4.2.0-SNAPSHOT}@pom
      //DEPS org.apache.camel:camel-jbang-core:${camel.jbang.version:4.2.0-SNAPSHOT}

    • @AntoineWils
      @AntoineWils Год назад

      @@ClausIbsen thank you for the details. I will try this asap

    • @AntoineWils
      @AntoineWils Год назад +1

      ​@@ClausIbsen I have the 4.2.0-SNAPSHOT installed and running. Thank you very much.