The application banking-portal-xapi shows the usage of WebSocket connector. More you can find at my article about it.
In orther to test it you need to provide AmazonSQS accessKey and secretKey to application.yaml file.
This application should be run together with banking-forex-sapi and banking-papi. After you run the application enter following url in the web browser and open the Console. You should see that the application has subscribe itself two time.
rates:{ "status": "subscribed" }