How to Send Push Notifications with Spring Boot Using Websockets and STOMP

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

КОМЕНТАРІ • 45

  • @uhuebner
    @uhuebner 2 роки тому +14

    best explanation I found so far. Especially the mapping to the endpoints. Well done!

    • @aiduongvo7510
      @aiduongvo7510 Рік тому

      right, atleast i need him to show the code for the Message class, since i am following his guide, and how am i suppose to know what's inside the class Message ?

    • @girishanker3796
      @girishanker3796 10 місяців тому

      ​@@aiduongvo7510 7:38 Message class

  • @muninkumbhakar3887
    @muninkumbhakar3887 Рік тому +2

    Very beautiful explaination. Thanks a lot!

  • @hamidabdukadirov7323
    @hamidabdukadirov7323 2 роки тому

    the best explanation thanks . I searched for 3 days

    • @omgmaw
      @omgmaw 9 місяців тому

      Took me a min

  • @brunocardoso8277
    @brunocardoso8277 Рік тому +3

    Thanks for explanation. But I don't really like the way spring abstracts things, sometimes feels like a black box.

    • @RefactorFirst
      @RefactorFirst  Рік тому +1

      That's the framework which hides the complexity so you can concentrate on the business code. But ya.. sometimes it can be a bit difficult with so much abstraction.

  • @yuriastoria1477
    @yuriastoria1477 Рік тому +2

    Great explanation, so the private mesaage will only receive by the particular receiver...In your video the receiver must have log in to have an message notif, but there is a condition when the reciever log out and at a certain time the receiver log in again but there is no message in. It is possible If we add like cache to hold the data and consume by the receiver after login ? We can achieve it if using queueing, but if only using spring boot websocket is it possible?

  • @ГайратМадумаров-ю2я

    Thank you very much. I'm writing the comment to raise the video in ranking, because it wasn't the first i got for my request.

  • @RahulDutta-pt8xl
    @RahulDutta-pt8xl Рік тому +1

    Hi, is there a way to send specific user a message without using spring security and login? I tried it but it’s not working.

  • @sirfinsaan
    @sirfinsaan 2 роки тому +4

    Nice,
    few points to add : ws endpoint should not be permitted All, and for high availability use rabbit mq

    • @RefactorFirst
      @RefactorFirst  2 роки тому +2

      Yes.. true.. I dint want to include the security related topic in this video to keep it simpler.
      We should protect it with websocket security.
      Yes.. active or rabbitmq are for high availability and scalability also..

  • @khairinaatiqah3959
    @khairinaatiqah3959 11 місяців тому

    your explanation helped me alot. thank you!

  • @Itsarpitgupta
    @Itsarpitgupta Рік тому +1

    I was also looking for the same thing but my research ends here. Thanks.

  • @sifr-in
    @sifr-in Рік тому +1

    very helpful.
    but u have given explanation on your readymade code.
    ur vid was very helpful, so i searched "code" on chrome browser (not google)
    found the last comment asking for code and u had given the link.
    after long time
    but it would be better if u give this same link under video description.
    once again, very useful
    🙂

    • @RefactorFirst
      @RefactorFirst  Рік тому +2

      Really appreciate the feedback. I will add links to the article containing the code. That would help..

    • @sifr-in
      @sifr-in Рік тому

      @@RefactorFirst
      thanks for your quick response.
      will i get the same
      "websocket" project with user-name+password logging in from mysql.
      that would really save me a lot lot lot of time.
      after watching your video (have searched a lot for the same, but couldn't)
      thanks in advance.😊
      also would like to know the medium to contact u.
      want to know whether ur fees (is small 😊) if i want ur assistance in a spring project.
      waiting 😊

  • @reynaldiichsanrahmawan724
    @reynaldiichsanrahmawan724 7 місяців тому +1

    Can I test it on postman? If so, how?

  • @mohammedmoulla3922
    @mohammedmoulla3922 2 роки тому

    You are awesome man !

  • @vishwag4371
    @vishwag4371 Рік тому

    can we maintain a history or how to make that notification apper when that specific user logged in?

  • @rajeshb5971
    @rajeshb5971 2 роки тому +1

    Could you show me consuming from postman

    • @priyaanbu1441
      @priyaanbu1441 Рік тому

      Hi, Are you able to consume the websocket stomp endpoint in postman.

  • @BeingDeveloperWithAB
    @BeingDeveloperWithAB 11 місяців тому

    Will this work in stateless rest API and separate UI client

  • @matzam
    @matzam Рік тому

    Me ayudó muchisimo tu video. Mil gracias!!

  • @priyaanbu1441
    @priyaanbu1441 Рік тому

    HI, Thanks for the video. can we access the stomp endpoint /app/ in postman. i am able to connect websocket endpoint but when i try to access stomp endpoint am getting 404. please provide the steps if you aware of this.

  • @arturmazurets2581
    @arturmazurets2581 2 роки тому +1

    Hi! Thanks for video, really very useful!
    I have one question: How to configure Websocket for using wss/https protocol? Will it be enough to add security configuration for websocket or it needs more specific configuration of webserver?

  • @alfikamuis9849
    @alfikamuis9849 2 роки тому

    There is spring boot+ angular +jwt tutorial?

  • @pankajbohra8637
    @pankajbohra8637 10 місяців тому +1

    How test using postman

  • @phanhuudong1607
    @phanhuudong1607 9 місяців тому

    Can kafka push notifcation to moblie ? How to do that ?

  • @wilfredomartel7781
    @wilfredomartel7781 Рік тому

    Can spring boot be used for 1pk websocket connections? With 12 ram and 8 cores.

  • @NivedSuresh-e9h
    @NivedSuresh-e9h 8 місяців тому

    what if there is no authentication required or if the authentication is handled in the gateway?

  • @BasitSeyl3r
    @BasitSeyl3r 10 місяців тому

    how test user can answer private message?

  • @ricardonino31
    @ricardonino31 Рік тому

    What is the content of Message class?

    • @RefactorFirst
      @RefactorFirst  Рік тому

      You have a look at the code on GitHub here github.com/amrutprabhu/spring-boot-websocket-stomp-push-notification

    • @RefactorFirst
      @RefactorFirst  Рік тому

      Also read about it on my site refactorfirst.com/spring-boot-websockets-stomp-notifications

  • @josephcro2138
    @josephcro2138 2 роки тому

    URGENT. Can this work with android? I implemented push notifications hit they only work on desktop

  • @aiduongvo7510
    @aiduongvo7510 Рік тому

    Please provide the code for the Message class man, the method .getTo() is confusing me, how am i to follow your tutorial if you dont show the content of all your java class file

    • @RefactorFirst
      @RefactorFirst  Рік тому

      Here is the link to the GitHub repo github.com/amrutprabhu/spring-boot-websocket-stomp-push-notification

    • @RefactorFirst
      @RefactorFirst  Рік тому

      You can also read about it on my site : refactorfirst.com/spring-boot-websockets-stomp-notifications