It appears the ProducerAndConsumerTool uses an embedded broker by using "url=vm://localhost" if no broker url is provided as its argument. The broker is still required but in this case it's using an embedded broker so you don't have to start broker seperately.

You can checkout http://incubator.apache.org/activemq/how-do-i-embed-a-broker-inside-a-connection.html and http://www.activemq.org/site/vm-transport-reference.html for more info on embeded brokers.

Regards,
Val

----- Original Message ----- From: "penny_hu" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Monday, November 13, 2006 3:19 PM
Subject: Re: Qustion about "Broker"!



in the "ProducerAndConsumerTool" example, there is no "Broker"! Besides the
"ProducerAndConsumerTool" example does performs very well , when the
"Broker" example does not run.
is it means that "Broker" is not a requisite for commucation with jms ? or
is it because of "url=vm://localhost" in "ProducerAndConsumerTool" ?


--
View this message in context: http://www.nabble.com/Qustion-about-%22Broker%22%21-tf2619683.html#a7312469
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.



Reply via email to