Re: replicate Activemq messages from one server to another activeMq server

2015-05-21 Thread vallala...@gmail.com
Hi TIm, thankyou for your reply. we have first activemq server where we store messages on some abc queue. our client want same abc queue data from first server to second server xyz queue. just want move same data to some other activemq server . if could give some info on this it could be more

Performance degrade issue using ActiveMQ scheduler

2015-05-21 Thread contezero74
Hi Everyone, in one of our project we are suffering for ActiveMQ performance degrade when we use the schedule facility (enabling schedulerSupport in ActiveMQ configuration) with high amount of message (1M or more). We are, also, using Camel for route management. Our routes are configured as

Re: Network bridge throughput capped at default Socket buffer size

2015-05-21 Thread Leung Wang Hei
Tim, I have used transport.socketBufferSize=x in transport connector broker A and only ?socketBufferSize=x in broker B network connector. When x=-1, warning is raised in MQ log: /[WARN ] org.apache.activemq.network.DiscoveryNetworkConnector - Could not start network bridge between:

JDBC for ActiveMQ-5.11

2015-05-21 Thread khandelwalanuj
Hi, We are using ActiveMQ-5.11 with kahadb shared storage. I just want to understand the aspects of using JDBC for persistence store. I know that kahadb is the default database for ActiveMQ and JDBC was used with old versions. Does ActiveMQ gods suggest using JDBC in ActiveMQ ? Thanks, Anuj

Re: Virtual Topic - Will work for following scenario

2015-05-21 Thread Noufal
I am able to use virtual topic and solve the issue.. In case of subscriber i have to use queue instead of Topic and use this queue for consumer. Suppose we should not use durable subscriptions. Noufal. -- View this message in context:

Re: JDBC for ActiveMQ-5.11

2015-05-21 Thread Tim Bain
I believe I've seen someone (I'd guess Tim or Art off the top of my head) give rough performance comparisons between JDBC, KahaDB, and LevelDB, but searching my email quickly I couldn't find it. So I'll just say that the consensus is that you'll get the best performance from LevelDB, then KahaDB,

Re: replicate Activemq messages from one server to another activeMq server

2015-05-21 Thread Tim Bain
You could use mirrored queues ( http://activemq.apache.org/mirrored-queues.html) and Camel routes that consume from the mirrored queues and publish to the other broker's real queues. To make that work, you'll need to set up your Camel routes on one and only one broker along the path each message

Bridging virtual topics

2015-05-21 Thread Tim Bain
Researching the question that josealvarado recently posted ( http://activemq.2283324.n4.nabble.com/How-to-forward-a-topic-using-network-of-brokers-td4696688.html#a4696745), I came across some seemingly contradictory guidance about how to bridge virtual topics, and I'm hoping that Dejan (who

Re: Bridging virtual topics

2015-05-21 Thread Tim Bain
I thought about it some more and I think I misunderstood the statement at the bottom of http://activemq.apache.org/virtual-destinations.html. I believe that guidance says that you should always include Consumer.*.VirtualTopic. unless you have a consumer directly on the destination itself (that is

Re: How to forward a topic using network of brokers

2015-05-21 Thread Tim Bain
Actually, try this instead: networkConnectors networkConnector name=linkToBrokerB uri=static:(tcp://localhost:61616) dynamicallyIncludedDestinations queue physicalName=/ topic physicalName=/ /dynamicallyIncludedDestinations /networkConnector

Re: Virtual Topic - Will work for following scenario

2015-05-21 Thread Tim Bain
How did using a virtual topic allow your consumers to selectively receive only some of the messages destined for them? If you don't use durable subscriptions, you'll still consume messages as usual. The only difference you'd see is in the behavior if you disconnected your consumer and

Re: How to forward a topic using network of brokers

2015-05-21 Thread Tim Bain
Wait, what? I thought your configuration was topic physicalName=PRICE.STOCK./; where did virtual topics come from? Maybe you should describe exactly what you're actually doing, to avoid any confusion... If you configure networkConnectors networkConnector name=linkToBrokerB

Re: Network bridge throughput capped at default Socket buffer size

2015-05-21 Thread Tim Bain
You're right, I didn't catch that in your original message, sorry. What did you find when you investigated my suggestions about the TCP congestion window and your OS's max socket buffer size setting? Also, have you confirmed that a non-ActiveMQ TCP socket connection can get better throughput?

Re: replicate Activemq messages from one server to another activeMq server

2015-05-21 Thread Tim Bain
I just realized: since the queue on the other broker has a different name, you can use a composite destination to get a copy of the message into the xyz queue on your main broker, and federate the two brokers and use normal message forwarding to get them to the consumers on the other broker. On

ActiveMQ 5.11.1 missing data in the Web Console

2015-05-21 Thread mtod
I just upgraded to 5.11.1 and everything seems to work except for the Web Console. When I log on there is no data in the Main page Broker or any queues, topics, etc. The page is there just no data. I checked and double checked the conf and can't seems to find anything. Thanks Mike -- View

Re: AMQ-5082 (replicated LevelDB)

2015-05-21 Thread James A. Robinson
I've had a dev cluster running for a little while now and twice I've seen interruptions where the cluster didn't recover, didn't select a new master. I had hoped AMQ-5082 fixed that issue but it looks like there might be additional problems. How many of you folks are running replicated leveldb,

Re: Performance single vs. multiple queues / sessions / consumers

2015-05-21 Thread Kevin Burton
The current version of ActiveMQ doesn’t really scale well over say 1000-2000 queues (if you GC them). If you create one queue per client then you will have lots of queues. I haven’t submitted my patches yet (trying to port our code to 5.11) but it should resolve that situation. On Thu, May 21,

Re: Virtual Topic - Will work for following scenario

2015-05-21 Thread Noufal
In case i want to send message to particular consumer, i have changed my producer code to send the message to consumer's queue directly not to the virtual topic. Thanks Noufal. -- View this message in context:

Re: Performance degrade issue using ActiveMQ scheduler

2015-05-21 Thread Tim Bain
That sounds like pretty terrible performance, and although I've never looked at that code, I can't imagine a reason why the performance couldn't be improved substantially. Are you willing to do some of that digging to at least identify which code is slow (and ideally submit recommended changes to

Re: Activemq list of queues NMS .NET

2015-05-21 Thread Jim Gomes
Hello, The best way to get a list of topics and queues is by using the Statistics Plugin on the broker. Check the documentation here: http://activemq.apache.org/statisticsplugin.html On Mon, Apr 27, 2015 at 4:40 PM gokhaled89 gokhale...@gmail.com wrote: How do I get list of queues and topics

Performance single vs. multiple queues / sessions / consumers

2015-05-21 Thread Klaus Liebler
Dear list members, I am trying to understand the performance profile of ActiveMQ. Let's assume, we have some 500 clients sending the same type of messages (status updates) to one single central server - basically a windows service that interacts with a SQL database on the same machine. Which