activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zeric <ze...@126.com>
Subject Re: STOMP connections hanging
Date Fri, 20 Jul 2007 01:26:53 GMT

Thanks for your reply.

I'm using the zip file downloading from http://activemq.apache.org.
And you can simply follow the user-guide.html in the zip file.
-------------
Running the broker
    cd bin
    activemq

Running the example producer and consumer
Once you've got Java and Ant installed correctly you should be able to run 

    cd example

you can specify exact URLs to connect to via command like arguments. e.g. 

    ant producer -Durl=stomp://localhost:61613

Then you will see the output.

Buildfile: build.xml

init:

compile:

producer:
     [echo] Running producer against server at $url =
stomp://localhost:61613 fo
r subject $subject = TEST.FOO
     [java] Connecting to URL: stomp://localhost:61613
     [java] Publishing a Message with size 1000 to queue: TEST.FOO
     [java] Using non-persistent messages
     [java] Sleeping between publish 0 ms








Tom Samplonius-2 wrote:
> 
> 
> ----- "zeric" <zeric@126.com> wrote:
>> I also met this problem.
>> Version 4.1.1, 3.2.2, 5.0, and latest snapshot were used.
>> But no use at all.
>> 
>> Please help.
> 
>   Do you have a simple script which can reliably re-produce the hang?
> 
> 
> Tom
> 
> 

-- 
View this message in context: http://www.nabble.com/STOMP-connections-hanging-tf3641573s2354.html#a11700828
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.


Mime
View raw message