Http stream line by line

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Http stream line by line

kync
This post was updated on .
I need to get all topic datas by reading line by line over HTTP. I wrote some java code to consume datas through http but it closes stream after reading first line. Does apache activemq support http alive stream ? If does what should i do ?

Code:
https://gist.github.com/kync/8483470fd5bcdcfc6446c9b8bf7841d1
http://stackoverflow.com/questions/42813710/apache-activemq-http-stream-line-by-line