Re: Active MQ cluster behind load balancer

2015-11-03 Thread Tim Bain
What are you trying to load balance? (Which is another way of asking, what's your topology/configuration/scenario?) Many clients on a single connection? Many separate connections from the same process? From the same host? From different hosts? I would expect that all but the first of those co

Re: Active MQ cluster behind load balancer

2015-11-03 Thread Emily Johnson
Thanks Tim and Jean, Your quick response is highly appreciated. I guess I phrased my question wrong. I would like to load balance my connections, what are the suggestions to achieve the same. The traditional connection approach will not work for the same reason that connection once established wou

Re: AMQ CPP Consumer Receive() and receiveNoWait() does not return

2015-11-03 Thread JackOfAllTrades
All I can do at the moment auto_ptr factory( new ActiveMQConectionFactory (MY_BROKER_URL)); cms::Connection* conxn=null; conxn=factory->CreatConnection(); auto_ptr myConn(dynamic_cast(conxn)); myConn->start(); auto_ptr mySession; mySession.reset(myConn->CreateSession(Session::AUTO_ACKNOW

What happens with JMSRedelivered when server moves message to DLQ

2015-11-03 Thread Martin Lichtin
I see the JMSRedelivered flag goes back to 'false' when # of redeliveries is exceeded and ActiveMQ server moving the message into the DLQ. Is this done on purpose? I'd rather expect the flag stay 'true', as this state should be preserved. - Martin

Re: JDBC driver with Failover (Master-Slave) MS SQL database

2015-11-03 Thread Tim Bain
Thanks for clarifying about the behavior when manually restart the broker after a failover. Are you using Tanuki's ability to restart a process automatically? If so, does Tanuki retry repeatedly while the database is in the process of failing over? On Nov 2, 2015 7:39 AM, "Abrasha70" wrote: > H

Re: Active MQ cluster behind load balancer

2015-11-03 Thread Tim Bain
Emily, The load balancer will route a given client's connection to a single broker, with which your client will have all interactions. The other broker will not interact directly with the client, but since you say your brokers are networked, messages can pass from a client on one broker to a clie

How to improve throughput by grouping messages in a Transaction

2015-11-03 Thread deepak_a
All, I have a simple bridge between ActiveMQ and TibcoEMS. There are 2 routes. 1st (Camel) Route moves messages into ActiveMQ Queue. (thisroute reads messages from Disk and publishes to ActiveMQ). 2nd (Camel) Route consumes messages from ActiveMQ and publish to a Topic in TibcoEMS. For both the