How to limit the connection of the clients

2011-01-11 Thread dryland
Hi,I got a problem when i use activemq5.3.2 on windows 2003-32 bit , the local server port is 61616: the max jvm size for activemq was set to 1500MB ,50 clients connect to the broker sent 15 messages per 5 minute(200MB total size),but some of the clients never stopping create new connection ,w

Re: Duplicate messages on temporary Topics

2011-01-11 Thread adam
Some further information: In the DemandForwardBridgeSupport, temporary destinations are not processed as part of the "excludedDestinations' config. Therefore, in the above set of networkConnectors, temporary destinations are processed for BOTH connectors instead of just the one for topics. We ca

Re: ajax handling fast messages

2011-01-11 Thread Alex Dean
On Jan 11, 2011, at 8:14 AM, Jeff Rose wrote: > On Mon, Jan 10, 2011 at 4:57 PM, Alex Dean wrote: > >> >> On Jan 10, 2011, at 5:02 AM, Jeff Rose wrote: >> > > The last issue I do see is that fairly often the consumer stops listening to > the topic even though the ajax poll requests are still

durable topic subscriber using spring and atomikos

2011-01-11 Thread softweave
I wrote a topic listener that works fine as a non-durable topic subscriber. I want to convert it to a durable topic subscriber, but am running into problems. This portion of the spring configuration sets up the topic listener:

Re: Deleted Message Coming back.

2011-01-11 Thread Nageswara
"As they were PERSISTENT". they need to be deleted from the persistent storage too. Please look into your activemq.xml, how it is configured while startup. i.e. whether it is deleting old messages upon start-up ? if YES that is why you are not getting them upon a restart" -Nag - Thank You,

Re: 5.4.1 Older Messages Blocking Delivery

2011-01-11 Thread Reynald Borer
Hi, You can increase the maxPageSize parameter on a per destination policy. By default it is defined to 200, which means that (as far as I understand) the broker will keep information on 200 messages per destination, the other messages being paged to disk. Of course it will increase memory usa

Duplicate messages on temporary Topics

2011-01-11 Thread adam
I have a hub&spoke network of brokers setup (as documented) with conduitSubscriptions=true for all topics. When sending messages to a temporary Topic, the subscriber gets duplicate messages at a number equal to the number of spokes. This does NOT happen for regular Topics. Am I missing a setting

5.4.1 Older Messages Blocking Delivery

2011-01-11 Thread urciolo
I have a situation where older messages are blocking the delivery of newer messages in a queue. A consumer is using a message selector that matches the newer messages, but not the older messages. This seems to happen with just a couple of thousand messages that do not match the message selector.

Re: conduit subscriptions vs full duplex on network connections

2011-01-11 Thread adam
Issue created: https://issues.apache.org/jira/browse/AMQ-3129 -- View this message in context: http://activemq.2283324.n4.nabble.com/conduit-subscriptions-vs-full-duplex-on-network-connections-tp3208138p3209598.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

asyncSend for producers in persistent mode

2011-01-11 Thread Anirudha Khanna
Hi, When sending messages using persistent mode and useAsyncSend=true, I noticed that the producer throughput is roughly 10x more as compared to when useAsyncSend=false. What I am trying to understand is whether it is safe to use this option if we want to guarantee that all the messages that a

Re: broker config if destination may be down

2011-01-11 Thread Miguel
Well, I found the solution for my use case: 1) server A starts up without any bridge connector configured. 2) In a thread, a bridge connector is configured for server B, which is not started yet. The url is "failover:(tcp://x.x.x.x:y)". The thread will block until server B is reachable. 3) Me

Re: broker config if destination may be down

2011-01-11 Thread Miguel
I have the same problem: if one don't want the broker A to block at startup if a remote broker B is not reachable, the "startupMaxReconnectAttempts" parameter must be used, but A won't try to connect to B anymore, so all messages will be queued in A until it's restarted. Is there any workaround? -

Re: ajax handling fast messages

2011-01-11 Thread Jeff Rose
On Mon, Jan 10, 2011 at 4:57 PM, Alex Dean wrote: > > On Jan 10, 2011, at 5:02 AM, Jeff Rose wrote: > > > On Sat, Jan 8, 2011 at 2:11 AM, Alex Dean wrote: > > On Dec 14, 2010, at 9:48 AM, Jeff Rose wrote: > > > > > Hi Alex, > > > Thanks for the response. We looked into it a bit more based on y

Re: conduit subscriptions vs full duplex on network connections

2011-01-11 Thread Gary Tully
The single duplex network connector per broker on a transport connectors is a side effect of https://issues.apache.org/jira/browse/AMQ-2774 - an unintended restriction I think. That needs to be redressed, using the networkConnector name along with the brokerId or using just the networkconnector nam

A ActiveMQ-CPP wrapper opinnion

2011-01-11 Thread Oscar Pernas
Hi all, I've developed a ActiveMQ-CPP Wrapper that I think that coulde be useful because allow the users to dont have to implement things that should have to implement in a normal development using ActiveMQ-CPP. It's opensource, and for me will be very useful if someone could take a look of the do