Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

REST push queue instead of HTTP GET/DELETE ?

$
0
0
Hey there

I inherited a few (3) REST backend services that are currently called from a
front end web app (POST). From within the web app, the calls to these
backend services are blocking yet they should not be -the services response
is not relevant to the web app at that time-. I don't have as much freedom
to completely modify the front end web app to convert the HTTP POSTs to JMS
message...

What I am in freedom to do, falls within the range "possibility" of
dispatching a POST call to activeMQ to enqueue a message and having activeMQ
itself dispatching a POST message (maybe a dispatching script) to these
services: that will be minimal change and have the app a bit more
responsive. (I quick google search shows iron.io has something similar).

I was just wondering how would the folks on this message board approach this
problem, or if it is even advisable. I just can't modify the web services
(they are POST based).

Thanks
-S

Viewing all articles
Browse latest Browse all 5648

Trending Articles