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

แชร์
ฝัง
  • เผยแพร่เมื่อ 23 ม.ค. 2025

ความคิดเห็น • 29

  • @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?

  • @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

  • @jangriesel5056
    @jangriesel5056 4 ปีที่แล้ว

    Nice - Short and simple.

  • @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?

  • @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

  • @henriquevergara
    @henriquevergara 3 ปีที่แล้ว

    Thanks Tom! helped me a lot.

  • @LeonardoLima-hw3tt
    @LeonardoLima-hw3tt 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!

  • @boddahboy
    @boddahboy 4 ปีที่แล้ว

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

  • @StuartWinchesterG
    @StuartWinchesterG 4 ปีที่แล้ว

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

  • @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.

  • @mandadapukalyani5881
    @mandadapukalyani5881 4 ปีที่แล้ว

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

  • @goku6986
    @goku6986 4 ปีที่แล้ว

    You are awesome!

  • @m3kbeatz
    @m3kbeatz 3 ปีที่แล้ว

    Can we get code?

    • @tomd-tutorialworks8706
      @tomd-tutorialworks8706  3 ปีที่แล้ว +1

      Yep! The code is now here: github.com/tutorialworks/camel-sports-api

  • @seanwilliams2314
    @seanwilliams2314 4 ปีที่แล้ว

    Great video