Re: Persistent Stomp connection

2011-02-18 Thread Alex Dean
On Feb 18, 2011, at 6:44 AM, Jeff Rose wrote: > Hi, > I'm using a set of back-end services to drive a PHP application. > Currently I have to connect to ActiveMQ with a new Stomp instance for every > request, but I'd like to use a pool of persistent connections like MongoDB > or MySQL offers. Do

Re: sometime,messages can not be consumed ,remaining in queue

2011-02-18 Thread Martin C.
Hi, On Thu, Feb 17, 2011 at 3:48 PM, xjchwork wrote: > > thanks,Martin.We use the default , AUTO_ACKNOWLEDGE. in this case I'd try upgrading to one of the bugfix releases of the 5.3.x series, or to the latest 5.4.2 if possible. But I don't know if the issue has been addressed but lots of message

Re: Delete all messages

2011-02-18 Thread Martin C.
Hi, On Wed, Feb 16, 2011 at 3:29 PM, lernen.2007 wrote: > > The problem is how can we delete all messages in a queue if we have a out of > memory. Is there any possiblity to delete messages? you could either purge it via the web-interface or via JMX from inside your code. Best regards, Martin

[ANNOUNCE] Apache.NMS.ActiveMQ v1.5.0 Released

2011-02-18 Thread Timothy Bish
Hello The Apache.NMS.ActiveMQ 1.5.0 Release bundle is now available at the following location: This release is based on the Apache.NMS API v1.5.0 and runs on .NET frameworks 2.0+ and Mono 2.0+. New in this version * New startupMaxRec

Persistent Stomp connection

2011-02-18 Thread Jeff Rose
Hi, I'm using a set of back-end services to drive a PHP application. Currently I have to connect to ActiveMQ with a new Stomp instance for every request, but I'd like to use a pool of persistent connections like MongoDB or MySQL offers. Does anyone know of a Stomp implementation that has persis

Re: What is the best connection URI for ActiveMQ if I want to Fail Fast?

2011-02-18 Thread Gary Tully
Three things come to mind: 1) sendFailIfNoSpace in the system usage configuration for the broker 2) sendTimeout on the connection factory or ?jms.sendTimeout 3) If using failover: configure maxReconnectAttempts such that it won't block for ever trying to reconnect if the broker goes away. On 16 Fe