You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by yesnid <ns...@pelco.com> on 2008/09/03 20:28:25 UTC
REST Post & Get from Java
Hello All,
I know this is a basic question, but could some one post a simple java code
example that sends and receives a messages to the broker? I am required to
do this from my java application via rest and I am having some difficulty
interpreting the examples that do this from the web examples and translating
it to this.
Thank you.
--
View this message in context: http://www.nabble.com/REST-Post---Get-from-Java-tp19295129p19295129.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: REST Post & Get from Java
Posted by yesnid <ns...@pelco.com>.
Hello All,
It seems that my attempt to read from a queue on the server is working, but
it only does so once, on the server, command window I see a message:
"INFO TransportConnector - Connector vm://localhost Started"
I read the message from the queue however a subsequent read does not yield
any of the other messages pending in the queue, instead I get nothing any
ideas?
Thank you!
yesnid wrote:
>
> Hello All,
>
> I know this is a basic question, but could some one post a simple java
> code example that sends and receives a messages to the broker? I am
> required to do this from my java application via rest and I am having some
> difficulty interpreting the examples that do this from the web examples
> and translating it to this.
>
> Thank you.
>
--
View this message in context: http://www.nabble.com/REST-Post---Get-from-Java-tp19295129p19299123.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.