Adding JSON to my REST API in Apache Camel [Code-along]

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

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

  • @jangriesel5056
    @jangriesel5056 4 года назад

    Nice - Short and simple.

  • @henriquevergara
    @henriquevergara 3 года назад

    Thanks Tom! helped me a lot.

  • @this.leonardo
    @this.leonardo 4 года назад

    Thanks Tom, you helped me a lot.

    • @tomd-tutorialworks8706
      @tomd-tutorialworks8706  3 года назад

      Happy to hear it!

    • @kiuu3444
      @kiuu3444 2 года назад

      @@tomd-tutorialworks8706 Hi Tom! At 5:51 is it possible to combine several json properties together into just one property from incoming data? Say 3 properties comes in: Number of the bus, starting point and ending point. Also, when doing this, I need to rename that property to something like "description". How would I go about doing that? Thanks for the book you wrote, btw! One of the best things I've discovered this year. Very helpful!

  • @kanikachhabra9147
    @kanikachhabra9147 2 года назад

    For put endpoint also it is same as post? We would need one param and in the body the records to be updated for that id in the param?

  • @Leon-xg7zj
    @Leon-xg7zj 4 года назад

    Hi Tom, thank you very much for the video! May I ask how I can post a multipart/mixed message instead of json to the endpoint?

  • @danielarriaga6039
    @danielarriaga6039 4 года назад +1

    Hello, can you do an API REST integration with MySQL?
    Did you have any tutorial of this?

    • @tomd-tutorialworks8706
      @tomd-tutorialworks8706  4 года назад

      Hiya, I don't have a tutorial for that, but there are some examples with Camel which I think will help you:
      - github.com/apache/camel-spring-boot-examples/blob/master/camel-example-spring-boot-rest-jpa/README.adoc
      - github.com/apache/camel-examples/tree/master/examples

    • @danielarriaga6039
      @danielarriaga6039 4 года назад

      @@tomd-tutorialworks8706 thank you so much! let me check it

  • @goku6986
    @goku6986 4 года назад

    You are awesome!

  • @seanwilliams2314
    @seanwilliams2314 4 года назад

    Great video

  • @boddahboy
    @boddahboy 4 года назад

    Nice runthrough! I think servlet is now deprecated in newer versions as it hasn't been updated in a while.

  • @mandadapukalyani5881
    @mandadapukalyani5881 4 года назад

    Hi, Tom thank you very much for this vedio. Please make more vedios on Apache Camel with Springboot

  • @tomd-tutorialworks8706
    @tomd-tutorialworks8706  3 года назад

    Download my free Intro to Camel book here - tomd.xyz/learn-camel
    And you can get the full code used in this video here: github.com/tutorialworks/camel-sports-api

  • @dariobocale8549
    @dariobocale8549 3 года назад

    Hi Tom! Thanks for your videos! I tried to reproduce what you did there and I have no clue how to reach my service. The log says that caml-k-integrations listens on 0.0.0.0:8080 but I can't reach it with localhost. It's a mystery for me T.T I really hope you can give me a clue how to reach my service with a get/post request! Thanks in advance :)

    • @tomd-tutorialworks8706
      @tomd-tutorialworks8706  3 года назад

      Hey Dario! The default servlet mapping for Camel services is localhost:8080/camel/ so you might want to try that first! I've also uploaded the code, check out the top comment.

  • @StuartWinchesterG
    @StuartWinchesterG 4 года назад

    can you do one with a timer going to a log file please?

  • @m3kbeatz
    @m3kbeatz 3 года назад

    Can we get code?