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

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

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

  • @uhuebner
    @uhuebner Год назад +12

    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 7 месяцев назад

      ​@@aiduongvo7510 7:38 Message class

  • @user-eu2zk2qe6t
    @user-eu2zk2qe6t Год назад

    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.

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

  • @muninkumbhakar3887
    @muninkumbhakar3887 10 месяцев назад +2

    Very beautiful explaination. Thanks a lot!

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

    the best explanation thanks . I searched for 3 days

    • @omgmaw
      @omgmaw 5 месяцев назад

      Took me a min

  • @yuriastoria1477
    @yuriastoria1477 11 месяцев назад +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?

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

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

  • @brunocardoso8277
    @brunocardoso8277 Год назад +2

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

    • @RefactorFirst
      @RefactorFirst  11 месяцев назад +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.

  • @RahulDutta-pt8xl
    @RahulDutta-pt8xl 9 месяцев назад +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.

  • @khairinaatiqah3959
    @khairinaatiqah3959 8 месяцев назад

    your explanation helped me alot. thank you!

  • @masoomsanadi
    @masoomsanadi Год назад +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..

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

      @@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 4 месяца назад +1

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

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

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

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

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

    Me ayudó muchisimo tu video. Mil gracias!!

  • @pankajbohra8637
    @pankajbohra8637 7 месяцев назад +1

    How test using postman

  • @phanhuudong1607
    @phanhuudong1607 5 месяцев назад

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

  • @user-zn8dm8cp5t
    @user-zn8dm8cp5t 5 месяцев назад

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

  • @BeingDeveloperWithAB
    @BeingDeveloperWithAB 7 месяцев назад

    Will this work in stateless rest API and separate UI client

  • @arturmazurets2581
    @arturmazurets2581 Год назад +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?

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

    You are awesome man !

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

    Could you show me consuming from postman

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

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

  • @BasitSeyl3r
    @BasitSeyl3r 7 месяцев назад

    how test user can answer private message?

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

    There is spring boot+ angular +jwt tutorial?

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

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

  • @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 Год назад

    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