Best way to remotely monitor AMQ 5.x installation via .NET?

2011-04-04 Thread Mike J. Kitchin
Hi there, We use AMQ extensively in our enterprise to integrate our C++ and C# applications (CMS & NMS API's, respectively) and would like to integrate runtime monitoring of the broker into an existing, web-based monitoring mechanism built into one of our applications. This mechanism already

Re: network of broker stop forwarding messages without advisorySupport enabled

2011-04-04 Thread anuhbava
Hi Gary, Many many thanks for taking this issue up and providing a solution to this problem. I looked at: https://issues.apache.org/jira/browse/AMQ-3253 and attached test case. I will download the snapshot release tomorrow ET to test my scenario again. Once again I really appreciate you spending

Message lost for non-durable subscribers during master/slave failovers

2011-04-04 Thread rliguori
Is it okay to have message lost for non-durable subscribers during master/slave failovers? Thanks! -- View this message in context: http://activemq.2283324.n4.nabble.com/Message-lost-for-non-durable-subscribers-during-master-slave-failovers-tp3426324p3426324.html Sent from the ActiveMQ - User ma

Re: Queue/Message Fairness as oppose to Client Fairness

2011-04-04 Thread Gary Tully
To get more control of the scheduling, you will need to specify the TaskRunnerFactory for the broker and specify 1 for the maxIterationsPerRun so that it will move on to another task (each destination dispatch is a task) immediately. It may be helpful if you can provide a junit test case for your

Re: Queue/Message Fairness as oppose to Client Fairness

2011-04-04 Thread kapitalx
Garry, Thanks for the suggestion. With the change, the broker continues to dispatch everything from Queue 1 before moving onto Queue 2. Just much slower. I still need the dispatching to alternate between queues for every message. -- View this message in context: http://activemq.2283324.n4.nabble.

Re: network of broker stop forwarding messages without advisorySupport enabled

2011-04-04 Thread Gary Tully
Anubhava, have a look at https://issues.apache.org/jira/browse/AMQ-3253 and the associated test case. You can try the additional config with trunk or tonight's snapshot. I will allow temp destinations to propagate a network and allow the gc of destinations that have just network consumers, which wi

Re: Queue/Message Fairness as oppose to Client Fairness

2011-04-04 Thread Gary Tully
one thing that could work is to set the maxPageSize for your destinations to 1 via a destination policy, in this way each attempt to dispatch will only dispatch a single message. By default dispatch occurs async, but if you dispatch in the sending thread, you will get ordered dispatch. That is the

Re: Cannot browse or consume messages (with ttl setting) from a Queue.

2011-04-04 Thread Martin C.
> 3. Time to live : 30 (5 minutes) I'm not sure and I haven't checked the source-code, but could it be that the field is actually setting the timestamp when the message is going to expire instead of the TTL? Best regards, Martin

ActiveMQ Memory Usage is going up when there is no activity

2011-04-04 Thread nnprasad
http://activemq.2283324.n4.nabble.com/file/n3426037/ActiveMQMemory.jpg http://activemq.2283324.n4.nabble.com/file/n3426037/AMQ-Heap-GC.jpg http://activemq.2283324.n4.nabble.com/file/n3426037/AMQ-OutofMemory.jpg http://activemq.2283324.n4.nabble.com/file/n3426037/AMQ-GC.ppt AMQ-GC.ppt http://act

Re: Queue/Message Fairness as oppose to Client Fairness

2011-04-04 Thread kapitalx
Dejan, Thanks for the response. I have prefetch limit set to 1. But thats not what I'm trying to achieve. What I need is the opposite side of round robin. Currently the queue will send messages round robin to each consumer from first queue then go to second queue, etc (my consumer is subscribed to

Re: Setup writes wrong default JMX port?

2011-04-04 Thread Dejan Bosanac
Hi James, yes, we should make this be a default JMX port. Can you raise Jira for this? Regards -- Dejan Bosanac - http://twitter.com/dejanb - The experts in open source integration and messaging - http://fusesource.com ActiveMQ in Action - http://www.manning.com/snyder/ Blog - ht

Re: UDP ActiveMQConnection.start() loops infinitely

2011-04-04 Thread Dejan Bosanac
Hi Jake, frankly UDP transport needs some love as it hasn't been touched in a while (as I haven't seen anybody using it). Any particular reason you chose it over other transport options? Regards -- Dejan Bosanac - http://twitter.com/dejanb - The experts in open source integratio

Re: testing WebSocket + STOMP support, getting occasional "No transportListener available..." errors

2011-04-04 Thread stratio
Anyone has any idea or suggestion about this problem? -- View this message in context: http://activemq.2283324.n4.nabble.com/testing-WebSocket-STOMP-support-getting-occasional-No-transportListener-available-errors-tp2359504p3425025.html Sent from the ActiveMQ - User mailing list archive at Nabble

Re: Queue/Message Fairness as oppose to Client Fairness

2011-04-04 Thread Dejan Bosanac
Try setting small prefetch size (1 or so) so that broker doesn't try to send a lot of messages from the queue to the consumer in advance. That might help a bit http://activemq.apache.org/what-is-the-prefetch-limit-for.html Regards -- Dejan Bosanac - http://twitter.com/dejanb - Th

Setup writes wrong default JMX port?

2011-04-04 Thread James Green
Using Ubuntu here, I have run setup which results in a configuration file. I have to uncomment ACTIVEMQ_SUNJMX_CONTROL in order to provide username/password. However, after doing this I get the following when restarting: INFO: Loading '/etc/default/activemq' INFO: Using java '/usr/bin/java' INFO: