Re: Specifying prefetch topic sizes in configuration files

2010-08-26 Thread gng
Thanks. In the end all I needed to do apparently was to add the "topicPrefetch" attribute as follows :- I assume this would do the job. Is there any way in activeMQ's admin interface where I can check to see that the new topic preFetch size being applied and that the default is still not being

Re: Specifying prefetch topic sizes in configuration files

2010-08-25 Thread gng
Gary Tully wrote: > > peek at the schema, there is also a topicPrefetch and > durableTopicPrefetch attributes. You need topicPrefetch I guess. then > it looks ok. > Thanks - finally, is there a wildcard character that can be used to indicate all topics should be affected ? Something like :-

Re: Specifying prefetch topic sizes in configuration files

2010-08-25 Thread gng
Gary Tully wrote: > > yea, need to add it there, it is in the schema though: > view-source:http://activemq.apache.org/schema/core/activemq-core-5.4.0.xsd > > that is always the most up to date reference > Thanks Gary - so I'm using v5.3.2 and the queuePrefetch attribute is there. I want to ch

Re: Specifying prefetch topic sizes in configuration files

2010-08-24 Thread gng
Gary Tully wrote: > > there is a queuePrefetch attribute in the policy entry that can apply > to all consumes that don't have a preference. See how to configure at: > http://activemq.apache.org/per-destination-policies.html > > On 24 August 2010 15:03, gng wrote: >&g

Re: Specifying prefetch topic sizes in configuration files

2010-08-24 Thread gng
Glen Mazza wrote: > > This shows how it can be done in the web.xml: > http://activemq.apache.org/rest.html#REST-Consuming > > Would that work for you? > > gng wrote: >> I'm trying to configure topic prefetch sizes in the activemq.xml config >> file

Specifying prefetch topic sizes in configuration files

2010-08-24 Thread gng
I'm trying to configure topic prefetch sizes in the activemq.xml config file (as opposed to, for example, in the connection URL as documented at http://activemq.apache.org/what-is-the-prefetch-limit-for.html). Can anyone supply a code snippet or provide the documentation reference ? Thanks. -- V

Admin interface - blank entries when viewing connections

2010-08-24 Thread gng
When using the browser admin interface to view existing connections (admin/connections.jsp) I see a group of blank entries at the top of the list - any ideas what causes this or why is it shown ? I'm using ActiveMQ v5.3.1. Thanks in advance. -- View this message in context: http://old.nabble

Subscriber misses some messages (typically shortly after startup)

2010-07-28 Thread gng
I have a pub/sub model where the subscriber is a grails client using Spring configuration for the messaging. For some reason it seems to miss several messages in our tests. Here's what I've tried :- 1. Start up the subscriber to a test topic. 2. Start up the publisher - this publishes simple tex

Which configuration option ?

2010-05-26 Thread gng
I'd like to delete all queues and topics (and all messages in them) when I restart ActiveMQ. In other words, I'd like to have an empty state. Can anyone suggest a config parameter to do this and where it should be placed ? Thanks ! -- View this message in context: http://old.nabble.com/Which-c

Error when trying to create a topic via the web admin interface

2010-04-12 Thread gng
I'm using ActiveMQ v5.3.1 (Linux) and am trying to create a topic via the admin interface as follows :- 1. Browse to http://localhost:8161/admin/topics.jsp. 2. At the top of the page there is a text box asking for the name of the new topic, followed by a "create" button. 3. On typing in a rando

Newbie Question: using REST to post a message

2010-03-30 Thread gng
Hi, I'm new to ActiveMQ and am trying to POST a message to a queue. I'm using Poster (the Firefox add-on) and notice that although the message makes it to the queue it has no body. Attempts to retrieve the message using HTTP GET results in a HTTP 500 internal error message. Using the admin interf