Update AwsProductReceiver to use REST products_created_after endpoint
-
use REST endpoint for products_created_after requests -
stop using websocket for products_created_after queries -
split AwsProductReceiver onMessage method into onMessage(string) and onJsonMessage(JsonObject) -
deliver "product" and "products created after" messages via onJsonMessage, generated from REST products_created_after response
TBD: may need to run rest requests in separate thread, to not block the websocket client
/cc @emartinez
Edited by Jeremy M Fee