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

Поділитися
Вставка
  • Опубліковано 18 гру 2024

КОМЕНТАРІ • 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?

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

  • @LeonardoLima-hw3tt
    @LeonardoLima-hw3tt 3 роки тому

    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!

  • @henriquevergara
    @henriquevergara 3 роки тому

    Thanks Tom! helped me a lot.

  • @boddahboy
    @boddahboy 4 роки тому

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

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

  • @mandadapukalyani5881
    @mandadapukalyani5881 4 роки тому

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

  • @seanwilliams2314
    @seanwilliams2314 4 роки тому

    Great video

  • @goku6986
    @goku6986 4 роки тому

    You are awesome!

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

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