simple xml message broker

2015-10-22 Thread Bob M
Hi I have a server program and several client programs These programs run concurrently I wish to use ActiveMQ to send simple messages back and forth as follows:- 1) at a certain point each client sends new data to the server 2) once the server has received new data from each and every client, it

Re: Dealing with the "over-prefetch" problem with large numbers of workers and many queue servers

2015-10-22 Thread Tim Bain
Isn't usePrefetchExtension=false the same as queuePrefetch=0 and topicPrefetch=0 via policies? I always thought they were just two ways (and not the only two, because you can set it per-connection factory or per destination) to do the same thing. Or am I missing something here? On Oct 22, 2015 1:

Re: Enormous amount of db-xxx.log files in "scheduler" directory

2015-10-22 Thread Timothy Bish
On 10/22/2015 05:32 PM, Martin Lichtin wrote: > Right, but the JMX "JobScheduler" MBean shows no jobs at all (the > 'AllJobs' attribute is empty). > It also shows NextScheduleTime=1970-01-01 00:59:59. > > Turning on tracing, it shows: > > 2015-10-22 12:33:18,502 | TRACE | heckpoint Worker | > JobSc

Re: Re: Enormous amount of db-xxx.log files in "scheduler" directory

2015-10-22 Thread Martin Lichtin
Right, but the JMX "JobScheduler" MBean shows no jobs at all (the 'AllJobs' attribute is empty). It also shows NextScheduleTime=1970-01-01 00:59:59. Turning on tracing, it shows: 2015-10-22 12:33:18,502 | TRACE | heckpoint Worker | JobSchedulerStoreImpl | 105 - org.apache.activemq.activemq-osg

Re: Re: JMSTimestamp and JMSActiveMQBrokerOutTime not modified on redelivery.

2015-10-22 Thread Martin Lichtin
About JMSActiveMQBrokerOutTime, as redelivery is typically done locally by the client/consumer, it will not change. I imagine it should get updated in case of a server-side redelivery though. On 19.10.2015 06:18, Tim Bain wrote: I'm pretty sure the JMS spec describes how JMSTimestamp is handled

Re: [Artemis] Master fails to start up after failback

2015-10-22 Thread Clebert Suconic
On Thu, Oct 22, 2015 at 4:22 AM, Mihkel Nõges wrote: > Hi Martyn, Clebert, > > Thanks for fixing it and for good suggestions! I think the best way still > is to not use failback in production at all and instead change the master > configuration to be slave after the master crashes or is stopped an

Re: Dealing with the "over-prefetch" problem with large numbers of workers and many queue servers

2015-10-22 Thread Martin Lichtin
Your problem sounds a bit more complex, but just wanted to mentioned that one can set usePrefetchExtension=”false”. From the docs: The default behavior of a broker is to use delivery acknowledgements to determine the state of a consumer's prefetch buffer. For example, if a consumer's prefetch

Re: Enormous amount of db-xxx.log files in "scheduler" directory

2015-10-22 Thread Timothy Bish
On 10/22/2015 09:54 AM, barry.barn...@wellsfargo.com wrote: > If I'm using JConsole, where would I see it in that GUI? > > Regards, > > Barry Barnett > Enterprise Queuing Services | (QS4U) Open Queuing Services > Wells Fargo > Cell: 803-207-7452 > > > -Original Message- > From: Timothy Bish

RE: Enormous amount of db-xxx.log files in "scheduler" directory

2015-10-22 Thread barry.barnett
If I'm using JConsole, where would I see it in that GUI? Regards, Barry Barnett Enterprise Queuing Services | (QS4U) Open Queuing Services Wells Fargo Cell: 803-207-7452 -Original Message- From: Timothy Bish [mailto:tabish...@gmail.com] Sent: Thursday, October 22, 2015 9:47 AM To: user

Re: Enormous amount of db-xxx.log files in "scheduler" directory

2015-10-22 Thread Timothy Bish
On 10/22/2015 04:46 AM, Martin Lichtin wrote: > Can you help me understand what is stored in the "scheduler" directory? > I see about 14G of db-xxx.log files sitting there. > > All queues are empty and also the kahadb directory contains just one > db-nnn.log file. > > schedulerSupport is enabled o

Re: Slow MySQL datastore performance.

2015-10-22 Thread Tim Bain
In your example of 100 consumers, I would expect that when a message is received 100 ack rows would be inserted (ideally in a single transaction), and when each consumer receives its copy of the message one row would be updated (so when they all have finally received it, you'll have done 100 update

RE: GC Overhead limit exceeded?

2015-10-22 Thread Basmajian, Raffi
Thanks, Tim! Sent from my Verizon Wireless 4G LTE smartphone Original message From: Tim Bain Date: 10/22/2015 12:57 AM (GMT-05:00) To: ActiveMQ Users Subject: Re: GC Overhead limit exceeded? [ EXTERNAL ] That was the best part: after spending a bunch of time tweaking lots

Enormous amount of db-xxx.log files in "scheduler" directory

2015-10-22 Thread Martin Lichtin
Can you help me understand what is stored in the "scheduler" directory? I see about 14G of db-xxx.log files sitting there. All queues are empty and also the kahadb directory contains just one db-nnn.log file. schedulerSupport is enabled only due to use of the redelivery plugin. I'm pretty puzzl

Re: [Artemis] Master fails to start up after failback

2015-10-22 Thread Mihkel Nõges
Hi Martyn, Clebert, Thanks for fixing it and for good suggestions! I think the best way still is to not use failback in production at all and instead change the master configuration to be slave after the master crashes or is stopped and needs to be restarted. I guess this is the more safer way of