Re: Kind of "consumer faliover"

2007-05-28 Thread Tom Samplonius
- "ego" <[EMAIL PROTECTED]> wrote: > Hey, > > I'm not sure that my problem stands for "consumer failover". I would > like to > know if it's possible to have a group of consumers, listening the > same > Topic. Only one of the consumers is allowed to process the same > message. The > idea is th

Re: Problems with ActiveMQ4.1.1 - Master/Slave brokers

2007-05-28 Thread Cristian3001
I've solved the problem by adding the following to the failover definition in my spring configuration files of the listener: before it was just: -- View this message in context: http://www.nabble.com/Problems-with-ActiveMQ4.1.1---Master-Slave-brokers-tf3828185s2354.html#a10840281 Sent from

Kind of "consumer faliover"

2007-05-28 Thread ego
Hey, I'm not sure that my problem stands for "consumer failover". I would like to know if it's possible to have a group of consumers, listening the same Topic. Only one of the consumers is allowed to process the same message. The idea is that if one of the consumer die, the other consumers of my

Problems with ActiveMQ4.1.1 - Master/Slave brokers

2007-05-28 Thread Cristian3001
Hi, I'm having the following scenario: 1. two brokers with active MQ 4.1.1: one broker was configured as Master, and the other one Slave 2. one consumer >From the main app there is no problem sending messages to the brokers. When I shutdown the master, all the messages are in slave's queue as e

Re: Question about unit test with activemq

2007-05-28 Thread Bruce Snyder
On 5/28/07, Carfield Yim <[EMAIL PROTECTED]> wrote: Carfield Yim wrote: > >> How about creating a consumer to receive the message and asserting the >> message? There are examples of this throughout the ActiveMQ tests. >> There's a really simple one in the >> JMSConsumerTest.testReceiveMessageW

Re: How to adjust the configuration file to make Activemq more effective

2007-05-28 Thread Jiang
Albert , thanks . I think what you mentioned will be great help. Albert Strasheim wrote: > > Hello > > On Sun, 27 May 2007, Jiang wrote: > >> >> I download Activemq4.1.1 and use the default activemq.xml to run the >> Broker. >> Now I want to adjust the activemq.xml to make the broker works mo

Re: How to use http connector

2007-05-28 Thread Jiang
Adrian, thanks. I add several optional jars in the lib\optional\ directory. It works well now. Adrian Co wrote: > > Do you have the activemq-optional jar in the classpath? > > Jiang wrote: >> I add this http://localhost:8080"/> in the >> activemq.xml and started Activemq server . The console i

Re: How to use http connector

2007-05-28 Thread Adrian Co
Do you have the activemq-optional jar in the classpath? Jiang wrote: I add this http://localhost:8080"/> in the activemq.xml and started Activemq server . The console is show: 2007-05-28 14:00:07.796::INFO: Started SocketConnector @ localhost:8080 INFO TransportConnector - Connect

Re: How to adjust the configuration file to make Activemq more effective

2007-05-28 Thread Albert Strasheim
Hello On Sun, 27 May 2007, Jiang wrote: > > I download Activemq4.1.1 and use the default activemq.xml to run the Broker. > Now I want to adjust the activemq.xml to make the broker works more > effectively. Is there any document I can reference . > Any help is welcome. > Thanks. I found the foll

How to use http connector

2007-05-28 Thread Jiang
I add this http://localhost:8080"/> in the activemq.xml and started Activemq server . The console is show: 2007-05-28 14:00:07.796::INFO: Started SocketConnector @ localhost:8080 INFO TransportConnector - Connector http://localhost:8080 Started INFO NetworkConnector -