[ 
https://issues.apache.org/jira/browse/OFBIZ-7467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15338238#comment-15338238
 ] 

Amardeep Singh Jhajj commented on OFBIZ-7467:
---------------------------------------------

I am adding a very basic working example of sending push notifications to all 
connected clients using WebSocket.

Here is the details:

1. Added support to show push notifications over every screen of  an example 
application using WebSocket when any example created or updated.
2. As Its an example, so for now push notifications will only for example 
creation and updation using SECA's.
3. Push notification will be shown on screen for 5 seconds only, we can close 
it before 5 seconds using close button if needed.

The UI of notification pop-up can be changed. I kept it simple (No fancy work) 
to just demonstrate the WebSocket usage.

Please find attached patch for it.

To see it in action, Please follow the steps given in OFBIZ-7073 and apply 
patch given here.

Thanks.

> WebSocket Example - Push Notifications
> --------------------------------------
>
>                 Key: OFBIZ-7467
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-7467
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: specialpurpose/example
>    Affects Versions: Trunk
>            Reporter: Amardeep Singh Jhajj
>            Assignee: Amardeep Singh Jhajj
>         Attachments: OFBIZ-7467.patch
>
>
> This is a ticket for adding working example (in example application) of 
> WebSocket support that has been done in OFBIZ-7073



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to