You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Koka <wc...@symcor.com> on 2007/10/22 16:23:12 UTC
ActiveMQ for dummies
Hi All,
I am a student developer and have been assigned to do a proof of concept for
ActiveMQ. Does anyone have any resources similar to a 'idiots guide to
ActiveMQ' which I can refer to? Or are there anyone willing to give me some
hints as to how to use ActiveMQ?
Right now, I have done the following:
-Installed ActiveMQ
-Ran the examples
-Wrote code (based on example classes) that sends and receives messages
through ActiveMQ
However, beyond that, I am now stuck! I am looking for help in terms of:
-ActiveMQ clustering (I have done some reading and I wanted to try out the
failover:(uri1,...,uriN)?transportOptions. But I can't figure out where to
insert this. There seems to be a lack of documentation available to new
users like me, or maybe I'm just a bad searcher and have yet to find such
documentation. Can anyone give me a guide as to where I can find this info
or give me a few examples?
Further more, although I have installed ActiveMQ, it was the basic install.
How would I change the configuration, and what type of configurations can be
changed?
Thanks in advance to anyone who replies to this, your help is greatly
appreciated!
Wilson
--
View this message in context: http://www.nabble.com/ActiveMQ-for-dummies-tf4670547s2354.html#a13342311
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: ActiveMQ for dummies
Posted by Vinod Venkatraman <vi...@gmail.com>.
Koka wrote:
>
>
>
> -ActiveMQ clustering (I have done some reading and I wanted to try out the
> failover:(uri1,...,uriN)?transportOptions. But I can't figure out where to
> insert this.
>
> Maybe u should write test consumer/producer which takes following params :
> Consumer --broker-url=tcp://vinod:61616 --to-consume=2000
> --sleep-millis=100 --q-name="testQ"
> Producer --broker-url=tcp://vinod:61616 --batch-size=400
> --sleep-millis=100 --msg-size=1024 --q-name=testQ
>
> Here sleep-millis param means consumer will take so many millis to consume
> a message and producer will sleep for so many millis before producing next
> msg.
>
>
> Then U can pass various broker URLs like failover;//..., discovery://...
> etc for testing.
> http://activemq.apache.org/broker-uri.html
>
>
> -Further more, although I have installed ActiveMQ, it was the basic
> install. How would I change the configuration, and what type of
> configurations can be changed?
>
> ActiveMQ can be launched with an xml configuration as
> bin\activemq.bat xbean:broker1.xml
>
> Where broker1.xml is a file on the classpath, u can just place it in the
> <INSTALL_DIR>\conf dir.
>
> For more details on xml configuration of ActiveMQ see :
> http://activemq.apache.org/xml-configuration.html
>
>
>
--
View this message in context: http://www.nabble.com/ActiveMQ-for-dummies-tf4670547s2354.html#a13367852
Sent from the ActiveMQ - User mailing list archive at Nabble.com.