Re: network of broker: message does not forward between brokers and to consumer

2007-07-11 Thread Kit Plummer
I believe this has to do with the timing of the consumer connection and the network creation. You'll need to ensure that the consumer connects after the NoB links are made. hh_meta wrote: broker A, broker B forms a network of brokers. remote consumer connects to the network using multicast di

network of broker: message does not forward between brokers and to consumer

2007-07-11 Thread hh_meta
broker A, broker B forms a network of brokers. remote consumer connects to the network using multicast discovery, it could connect to any of the brokers in the network, let's say broker B. each broker has a producer. when message sends out via broker B, it sends to consumer right away. when messag

AltDeploymentRepository Problem...

2007-07-11 Thread Kit Plummer
I'm trying to build ActiveMQ and deploy it to an "internal" repository. But, it fails: siryn-apus:~/Desktop/apache-activemq-5.0-SNAPSHOT/src kplummer$ mvn deploy:deploy -DaltDeploymentRepository="eMAF.repo::default::file:///Users/kplummer/Development/workspace/maven-repository" -e + Error s

Re: Network of Brokers & Master / Slave

2007-07-11 Thread ksu
The desires are: 1) Use zeroconf for brokers to discovery each other in the network 2) Use zeroconf for message clients to auto-discover brokers it can connect to 3) Each broker in the network should (optionally) be highly reliable to avoid message loss by replicating its message stor

Re: Redelivery policy not honored

2007-07-11 Thread Adam Lewandowski
Thanks, that worked. But only if setting sessionTransacted to true and not using an external transaction manager, which rules out XA transactions. I'm still unconvinced that implementing the redelivery policy in the MessageConsumer is appropriate or even correct. If you have two consumers on t

Re: Network of Brokers & Master / Slave

2007-07-11 Thread Kit Plummer
ksu wrote: Is it possible to have a Network of Brokers where each of the brokers is a cluster of (File sharing) Master / Slave cluster? The idea here to to build a system that has good performance characteristics and can be scaled easily by simply adding more brokers. I see a couple of po

Network of Brokers & Master / Slave

2007-07-11 Thread ksu
Is it possible to have a Network of Brokers where each of the brokers is a cluster of (File sharing) Master / Slave cluster? The idea here to to build a system that has good performance characteristics and can be scaled easily by simply adding more brokers. I see a couple of potential issues

Re: Duplicate messages during Failover: urgent

2007-07-11 Thread sambit
Hi Raj, Could you suggest which version of 5.0 i can use to see if this works fine for me. Regards -Sambit rajdavies wrote: > > this is a known issue - but has only been fixed in 5.0 > > On Jul 11, 2007, at 7:59 AM, sambit wrote: > >> >> Hi Naga, >> Did you get any solution to this ? >>

Re: Redelivery policy not honored

2007-07-11 Thread naga007
Use CACHE_CONSUMER in Spring Message listener container, this will not create session and consumer everytime its polls. Adam Lewandowski wrote: > > At what level does the redelivery policy get applied? I've got a > transactional consumer (Spring MDP) that is performing a rollback and I > a

Re: RedeliveryPolicy appears to get ignored in an XA Transaction

2007-07-11 Thread Boris
Did you get an answer to your problem? My problem that is after throwing RuntimeException my message is not redelivered, further more any otherv message from the queue is not delivered any more, till I restart the app.

Re: Unit testing, stup and tearDown

2007-07-11 Thread Elliotte Harold
I've fixed/kludged the latest instance of this problem by manually draining the queue before sending in my test messages; e.g. while (true) { TextMessage m1 = (TextMessage) consumer.receive(3000); if (m1 == null) break; } The problem seems to be that under som

Re: Unit testing, stup and tearDown

2007-07-11 Thread Elliotte Harold
On 7/6/07, James Strachan <[EMAIL PROTECTED]> wrote: I don't see anything wrong I'm afraid. Maybe there's some timing issue where the close of the connection is a tad asynchronous in some aspect of closing the broker down properly. FWIW lots of the test cases in ActiveMQ derive from EmbeddedBro

JMS Routing

2007-07-11 Thread Jon
I saw that the exact question i have was asked here: http://www.nabble.com/jms-routing-tf1333152s2354.html#a3561517 Any change of this? My network is like this: A is behind a firewall B is not behind a firewall C is behind a firewall B does not see A and C, until A and C makes a connection to

Re: why can not connect to the brokers

2007-07-11 Thread Rob Davies
with failover:// did you set the randomize property to false ? Its probable your local machine wasn't being picked On Jul 10, 2007, at 7:03 AM, Jiang wrote: James: Whether 'static' schema is not supported also? Last time I tried 'failover', but I find it was slow some way.(I configured 3

Re: Compilation error (revision 554844)

2007-07-11 Thread Rob Davies
oops - I was rushing to jump on a plane - sry folks! On Jul 11, 2007, at 1:19 AM, Bummer wrote: No problem. Thanks for all the work you guys have done. It's working for me too. Thanks. James.Strachan wrote: Sorry about that - it looks like Rob forgot to checkin a file: ) I've patched the

Re: Duplicate messages during Failover: urgent

2007-07-11 Thread Rob Davies
this is a known issue - but has only been fixed in 5.0 On Jul 11, 2007, at 7:59 AM, sambit wrote: Hi Naga, Did you get any solution to this ? Regards -Sambit naga007 wrote: Currently iam running activemq version 4.1.1 in Master Slave mode. When i failover from master to slave it seems