Re: Activemq Clustering and failover

2012-02-09 Thread Abimael
Hi Matt First, thank you. Second , unfortunely it does not work. I did both changes in the configuration you had suggested, but it does not work. In the first 2 attempts, I was really excited, because it had worked . But when I did another attempt, it did not. To give you a scenario : I 'm runnin

Re: Activemq Clustering and failover

2012-02-03 Thread Abimael
Hi Matt I shared both (master and slave ) there : http://www.4shared.com/folder/uSPBPhA4/activemq.html The message that appears on console for the Producer console when the master shut down : .7585 [ActiveMQ Transport: tcp://sim1648/127.0.1.1:61616] WARN org.apache.activemq.transport.failov

RE: Activemq Clustering and failover

2012-02-02 Thread Abimael
Oh no! No it does not work.. I did another test to check and it does not work even with Durable SUbscriber . Scenario : 2 brokers >: master and slave 1 producer with failover uri on the code to connect and provide messages; 1 consumer with failover uri on the code to connect and consume messa

RE: Activemq Clustering and failover

2012-02-02 Thread Abimael
I just forgot to mention that it works properly IF you use durable topic subscriber . If you use "dynamic topics" , created by code , I noticed that it does not work (as I had explained in my previous comments and I assume is very similar your scenario ) . Regards -- View this message in context

RE: Activemq Clustering and failover

2012-02-02 Thread Abimael
I had the same issue and unfortunely it seems that it is back . My test applications are not equals of you, as I am doing some tests about failover and H.A. using 2 simple applications. But, the bottom line is : when master goes down, you (and me) want that the slave start working properly AND ,b

Re: Does a persistent message stay (keep) on the broker forever ?

2012-01-26 Thread Abimael
@Matt Pavlovich-2 Thank you. Yes, while I was waiting for the response, I did a test with more than 50 messages with the Consumer application STOPPED. I noticed that there was db-XX.log files (several of them) . Once I started Consumer, all of them were deleted , and just one were kept

Does a persistent message stay (keep) on the broker forever ?

2012-01-24 Thread Abimael
Hi Perhaps my question is simple . I tried to look for information on ApacheMQ documentaion but I 'm not able to do. Scenario : DurableTopic configured via webadmin; Persistent Messages sent by Producer with no time to live defined. Consumer consumer messages deliveried assync. I noticed th

Re: Configuration Shared Master Slave (and some questions)

2012-01-19 Thread Abimael
Hello Well, it is very embarrasing, but , I realized what I was doing wrong : In the consumer, I created the session BEFORE start the connection . In Java code : connectionFactory factory = new ActiveMQConnectionFactory(brokerURL); connection = factory.createConnection(); connectio

Re: Configuration Shared Master Slave (and some questions)

2012-01-19 Thread Abimael
Ops I realized that I posted a wrong parameter for the configuration files . The networkConnectors tag is , for both configuration files : I'm using the networkconnectors tag above and I see the error I post in the "1st thread" I started the topic. Thanks and

Re: Configuration Shared Master Slave (and some questions)

2012-01-19 Thread Abimael
irectory="/temp/abimael/share/activemqdata" destroyApplicationContextOnStop="true"> ... ... Slave configuration file : http://activemq.apache.org/schema/core"; brokerName="sim1660"

Re: Configuration Shared Master Slave (and some questions)

2012-01-17 Thread Abimael
Hi Liny Well, I am not sure.. I tested with and without ramdomize and consumer really connects to host sim1648 everytime I run it. The issue is really when I test and force sim1648 activeMq instance to down the consumer does not connect to 1660 despite the fact it is the master (after sim1648 b

Configuration Shared Master Slave (and some questions)

2012-01-16 Thread Abimael
Hi everyone I'm trying to understand ApacheMQ to achieve a message HA system. I think that Shared Master Slave is one of the architecture options to me , but, unfortunely, I am cannot get the proper configuration . let me explain the scenario of my tests : - I want to test HA - that means , if the