Re: Qustion about Broker!

2006-11-14 Thread penny_hu

I have solved the problem , thank you for your help!
-- 
View this message in context: 
http://www.nabble.com/Qustion-about-%22Broker%22%21-tf2619683.html#a7333106
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.



Re: Qustion about Broker!

2006-11-13 Thread penny_hu

There is another question! I start the borker like this: 

BrokerService broker = new BrokerService(); 
broker.setUseJmx(true); 
broker.addConnector(tcp://localhost:61616); 
broker.start(); 

and then I change the url of ProducerAndConsumerTool example to
tcp://localhost:61616 too! it blocks at 
consumer = session.createConsumer(destination)! there is not any available
exception information. what is problem?
-- 
View this message in context: 
http://www.nabble.com/Qustion-about-%22Broker%22%21-tf2619683.html#a7329587
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.



Qustion about Broker!

2006-11-12 Thread penny_hu

who could introduce Broker for me please? when should i need it?

in the ProducerAndConsumerTool example, there is no Broker! is it means
that Broker is not a requisite for commucation with jms ?
-- 
View this message in context: 
http://www.nabble.com/Qustion-about-%22Broker%22%21-tf2619683.html#a7310781
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.



Re: Qustion about Broker!

2006-11-12 Thread penny_hu

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.