Re: Time to live for non durable topic message at broker level

2009-10-23 Thread Rob Davies
On 24 Oct 2009, at 04:42, skdsm wrote: Can we set time to live for a non durable message on broker i.e. in the configuration file? -- View this message in context: http://www.nabble.com/Time-to-live-for-non-durable-topic-message-at-broker-level-tp26035907p26035907.html Sent from the Active

Time to live for non durable topic message at broker level

2009-10-23 Thread skdsm
Can we set time to live for a non durable message on broker i.e. in the configuration file? -- View this message in context: http://www.nabble.com/Time-to-live-for-non-durable-topic-message-at-broker-level-tp26035907p26035907.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: dynamically create transport connector using Spring

2009-10-23 Thread Bruce Snyder
On Fri, Oct 23, 2009 at 3:18 AM, Rob Davies wrote: > see https://issues.apache.org/activemq/browse/AMQ-1928 > This actually should be in 5.3 - need to check with bruce to see if he's > finished so we can mark it as resolved That issue is different and not yet complete. I need to complete the cli

Re: dynamically create transport connector using Spring

2009-10-23 Thread Bruce Snyder
On Fri, Oct 23, 2009 at 3:43 PM, Dan Tran wrote: > > > Actually what I meant was how to dynamically create transportConnector(s) to > listen to a list of hosts ( ie jms client). > > I have looked at ServiceBroker's api, It seems I can do that, but I cannot > remove the connectors. > > Also, would

Re: dynamically create transport connector using Spring

2009-10-23 Thread Dan Tran
Actually what I meant was how to dynamically create transportConnector(s) to listen to a list of hosts ( ie jms client). I have looked at ServiceBroker's api, It seems I can do that, but I cannot remove the connectors. Also, would creating many connectors on the fly cause any performance/memo

Re: How to limit queue by number of messages

2009-10-23 Thread Mitch Granger
Dave Stanley wrote: I think an EvictionStrategy might work. You can evict least recent or most recent messages once your queue gets to a certain size. http://activemq.apache.org/maven/activemq-core/apidocs/org/apache/activemq/broker/region/policy/MessageEvictionStrategy.html MessageEvictionS

Re: How to limit queue by number of messages

2009-10-23 Thread Dave Stanley
I think an EvictionStrategy might work. You can evict least recent or most recent messages once your queue gets to a certain size. http://activemq.apache.org/maven/activemq-core/apidocs/org/apache/activemq/broker/region/policy/MessageEvictionStrategy.html Cheer's, /Dave On Fri, Oct 23, 2009 at 6

Re: Installing Activemq-cpp in HP-UX

2009-10-23 Thread Timothy Bish
On Thu, 2009-10-22 at 22:22 -0700, Radha Manickam wrote: > Hi, > > I am using Actimemq-cpp version 3.0. > Autoconf ==> 2.64 > Automake ==> 1.11 > libtool ==> 2.2.6 > gcc ==> 4.2.3 > > I have installed all the dependencies. > I am able to install Apr and apr-util without any error. > But not able

Re: WebSphere MQ veteran new to ActiveMQ questions

2009-10-23 Thread Gary Tully
I think the brokerName in the network configuration is useful when there is more than one bridge configured on a broker. It allows the two networkConnectors to be differentiated. When a single network connector is configured, the default "localhost" value (so leaving it out) will suffice. w.r.t na

Re: Configuring number of retries

2009-10-23 Thread Gary Tully
see some detail @ http://activemq.apache.org/redelivery-policy.html 2009/10/23 Alexey Romanchuk > > Hi, all > > Assume you had a queue with 3 messages in it. Consumer use transacted > session and try to process first messages. Then he fails and call rollback > on transaction. Is there any way t

Re: WebSphere MQ veteran new to ActiveMQ questions

2009-10-23 Thread Fred Moore
Hi Rob, many thanks for the very prompt and comprehensive answer, which encourages me to venture into a second round of questions :-) ... Hi Folks, 1\ Can someone shed some light on the actual role of the brokerName in a network of brokers scenario? (by reading the docs it looks like it does no

Re: Multicast Discovery and network connections

2009-10-23 Thread Gary Tully
can you expand on what you are seeing? 2009/10/23 Ryan Moquin > I've had problems with the multicast discovery in activemq when a network > connection isn't present, as well as others. Is that really an expected > behavior? Is there any reason that activemq couldn't gracefully handle > that >

Re: How to limit queue by number of messages

2009-10-23 Thread Gary Tully
Using memory limits or store usage limits with an expiry time are your options for queues at the moment. I think this requirement has been mentioned before, especially for non persistent messages. An internal consumer triggered off the queue size counter could do the necessary. What sort of options

Re: WebSphere MQ veteran new to ActiveMQ questions

2009-10-23 Thread Rob Davies
On 23 Oct 2009, at 10:16, Fred Moore wrote: Hi folks, I'm an IBM WebSphere MQ veteran new to ActiveMQ, I recently started exploring ActiveMQ: great product, really great features... with some aspects just a little bit confusing for senior citizens like me :-) coming from years dwelling in W

Configuring number of retries

2009-10-23 Thread Alexey Romanchuk
Hi, all Assume you had a queue with 3 messages in it. Consumer use transacted session and try to process first messages. Then he fails and call rollback on transaction. Is there any way to configure number of retries in this case? Thanks! -- View this message in context: http://www.nabble.com

Re: dynamically create transport connector using Spring

2009-10-23 Thread Rob Davies
On 23 Oct 2009, at 06:32, Dan Tran wrote: Hi instead of using the bellow config to allow all remote clients to connect to my embedded broker Is there a way to programmatically create transportConnector to allow a limit number of remote client hosts? Thanks -Dan -- Vie

WebSphere MQ veteran new to ActiveMQ questions

2009-10-23 Thread Fred Moore
Hi folks, I'm an IBM WebSphere MQ veteran new to ActiveMQ, I recently started exploring ActiveMQ: great product, really great features... with some aspects just a little bit confusing for senior citizens like me :-) coming from years dwelling in WMQ-land. My general question here is: are there an