Re: could I config an queue to no persistence, others to persistence

2010-10-12 Thread Gary Tully
persistence is a property of the message, so you could use a plugin to ensure deliveryMode is NON_PERSISTENT for all messages to specific destinations. There is an existing plugin that enforces persistence for all messages, you would need to extend that plugin to add some filtering,

activemqcpp, stomp and openwire and message selectors

2010-10-12 Thread andrew . marlow
Hello, I have just been nobbled by some activemqcpp behaviour that only seems to apply when STOMP is being used with message selectors. It is the restriction that message selector applies to a session, not to individual messages. I am truly amazed at this. Luckily I found it documented at

Re: Re: could I config an queue to no persistence, others to persistence

2010-10-12 Thread renyong
Thank you! I'v understanded! 2010-10-12 renyong 发件人: Gary Tully 发送时间: 2010-10-12 17:01:46 收件人: users 抄送: 主题: Re: could I config an queue to no persistence, others to persistence persistence is a property of the message, so you could use a plugin to ensure deliveryMode is

RE: Re: could I config an queue to no persistence, others to persistence

2010-10-12 Thread Andre vd Merwe
As I understood, when you send a persistent message it is a synchronous call but when you send a non-persistent message it is asynchronous. So adding the persistent plugin does not actually give you the same guarantee that actually sending the messages as persistent does. i.e. you could lose a

Lots of Failed to register subscription QueueSubscription

2010-10-12 Thread James Green
We've just gone live with ActiveMQ and we're getting lots of: 2010-10-12 13:54:07,842 | ERROR | Failed to register subscription QueueSubscription: consumer=ID:zorin-55759-1286874482476-5:1:1:105, destinations=0, dispatched=0, delivered=0, pending=0 |

Re: Lots of Failed to register subscription QueueSubscription

2010-10-12 Thread James Green
I should mention this is with 5.4.1 and the hub server mentioned is also 5.4.1. On 12 October 2010 13:56, James Green james.mk.gr...@gmail.com wrote: We've just gone live with ActiveMQ and we're getting lots of: 2010-10-12 13:54:07,842 | ERROR | Failed to register subscription

Re: RE: Re: could I config an queue to no persistence, others topersistence

2010-10-12 Thread renyong
In fact, I use spring to config jms. I find I could set property 'deliveryPersistent' to JmsTemplate. 2010-10-12 renyong 发件人: Andre vd Merwe 发送时间: 2010-10-12 20:41:40 收件人: users@activemq.apache.org 抄送: 主题: RE: Re: could I config an queue to no persistence, others topersistence

Re: Configuring Distributed Queues in Store/Forward Network

2010-10-12 Thread schow
Dejan Bosanac wrote: You can set prefetchSize property on the network connector, which should help with your use case. See http://activemq.apache.org/networks-of-brokers.html for more details. Unfortunately, setting the prefetchSize on the NetworkConnector URL does not change the

Re: Configuring Distributed Queues in Store/Forward Network

2010-10-12 Thread jpeng
I have changed my test case and set the prefetch for the fast consumer to 100 and the prefetch for the slow consumer is still 1. The results didn't really change. 50 messages were processed by the fast consumer and 50 messages were processed by the slow consumer. Attached is the test case and

Re: Configuring Distributed Queues in Store/Forward Network

2010-10-12 Thread Gary Tully
had a quick look at the code, you use consumer.dispatchAsync=false which ensures that a single thread does the dispatch, which will not allow for any of the network latency to accumulate. Leave this at the default true so that dispatch happens using two threads. Also, set

Re: websockets in 5.4.0: Anyone got the clients working ? ...

2010-10-12 Thread Bobby Richards
Dejan, Is there any kind of to do list with regard to web sockets? Thanks, Bobby On Thu, Oct 7, 2010 at 4:50 AM, Dejan Bosanac de...@nighttale.net wrote: Hi Ravi, just tried the original demo and it seems it doesn't work. Can you raise a Jira issue for this? Cheers -- Dejan Bosanac -

Re: exception trying to stop activemq, stomp weirdness

2010-10-12 Thread rrwoods
My apologies for these thanks coming so late -- I got pulled for a while and unfortunately neglected this thread -- but many thanks nonetheless! Unfortunately I don't know what you mean by enable it. Is it (JMX?) enabled in the sample activemq.xml, and if so what can I look at to know what to

RE: exception trying to stop activemq, stomp weirdness

2010-10-12 Thread Allen Reese
This was Dejan's Message: Hi, the stop script tries first to connect to the broker using JMX and stop it cleanly and if it doesn't succeed it kills it. So make sure you enable it in your activemq.xml Cheers -- Dejan Bosanac - http://twitter.com/dejanb Open Source Integration -

broker data directory

2010-10-12 Thread fachhoch
I am passing brokerConfig to activemq broker vm://localhost?brokerConfig=properties:jms/broker.properties my broker.properties contains dataDirectory=/u01/oracle/artms-jms if the value specified for datadirectory does not exsists in the file system where my application is deployed