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

แชร์
ฝัง
  • เผยแพร่เมื่อ 30 ต.ค. 2024

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

  • @uhuebner
    @uhuebner 2 ปีที่แล้ว +13

    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 9 หลายเดือนก่อน

      ​@@aiduongvo7510 7:38 Message class

  • @muninkumbhakar3887
    @muninkumbhakar3887 ปีที่แล้ว +2

    Very beautiful explaination. Thanks a lot!

  • @ГайратМадумаров-ю2я
    @ГайратМадумаров-ю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.

  • @hamidabdukadirov7323
    @hamidabdukadirov7323 ปีที่แล้ว

    the best explanation thanks . I searched for 3 days

    • @omgmaw
      @omgmaw 7 หลายเดือนก่อน

      Took me a min

  • @khairinaatiqah3959
    @khairinaatiqah3959 10 หลายเดือนก่อน

    your explanation helped me alot. thank you!

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

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

  • @RahulDutta-pt8xl
    @RahulDutta-pt8xl 11 หลายเดือนก่อน +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.

  • @Itsarpitgupta
    @Itsarpitgupta ปีที่แล้ว +1

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

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

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

  • @matzam
    @matzam ปีที่แล้ว

    Me ayudó muchisimo tu video. Mil gracias!!

  • @vishwag4371
    @vishwag4371 ปีที่แล้ว

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

  • @mohammedmoulla3922
    @mohammedmoulla3922 ปีที่แล้ว

    You are awesome man !

  • @BeingDeveloperWithAB
    @BeingDeveloperWithAB 9 หลายเดือนก่อน

    Will this work in stateless rest API and separate UI client

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

  • @NivedSuresh-e9h
    @NivedSuresh-e9h 7 หลายเดือนก่อน

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

  • @reynaldiichsanrahmawan724
    @reynaldiichsanrahmawan724 6 หลายเดือนก่อน +1

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

    • @narendrajangid11
      @narendrajangid11 5 หลายเดือนก่อน

      If you know than plz tell me how

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

    • @raygilbertflies
      @raygilbertflies ปีที่แล้ว

      registry.addEnpoint(...paths: "/wss")

  • @phanhuudong1607
    @phanhuudong1607 7 หลายเดือนก่อน

    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.

    • @wilfredomartel7781
      @wilfredomartel7781 ปีที่แล้ว

      Or do you recomend other language for doing this?

  • @alfikamuis9849
    @alfikamuis9849 2 ปีที่แล้ว

    There is spring boot+ angular +jwt tutorial?

  • @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 9 หลายเดือนก่อน

    how test user can answer private message?

  • @pankajbohra8637
    @pankajbohra8637 8 หลายเดือนก่อน +1

    How test using postman

    • @narendrajangid11
      @narendrajangid11 5 หลายเดือนก่อน

      If you know than plz tell me

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