Re: Large messages, slow consumers and java heap space

2011-03-08 Thread Illtud Daniel
7;t look at was maxPageSize & lazyDispatch, but I think it was camel that was taking all the heap as it was being producer-blocked, but still consuming. I'll ask about that on the camel list. Thanks to all who replied. -- Illtud Daniel illtud.dan

Re: Large messages, slow consumers and java heap space

2011-03-08 Thread Illtud Daniel
e messages with xpath, populating headers as they go, etc. I'm moving our message broker to a 64-bit machine and giving it more heap. I'll report back. -- Illtud Daniel illtud.dan...@llgc.org.uk Prif Swyddog Technegol Chief Te

Re: Large messages, slow consumers and java heap space

2011-03-08 Thread Illtud Daniel
some details. That's the MEAP book I have at the moment. -- Illtud Daniel illtud.dan...@llgc.org.uk Prif Swyddog Technegol Chief Technical Officer Llyfrgell Genedlaethol Cymru National Library of Wales

Re: Large messages, slow consumers and java heap space

2011-03-08 Thread Illtud Daniel
On 07/03/11 18:19, Illtud Daniel wrote: I've attempted to read everything I can about producer flow control, message cursors, prefetch limits, etc. and I still can't get it to do what I want. I don't care about speed at all, I have plenty of disk space, and all messages

Large messages, slow consumers and java heap space

2011-03-07 Thread Illtud Daniel
minimum, at the expense of performance, disk space, anything else? Am I just expecting too much because my messages are too big? -- Illtud Daniel illtud.dan...@llgc.org.uk Prif Swyddog Technegol Chief Technical Officer Llyfrgell Genedlaethol Cymru National Library of Wales

Re: where to put java classes/jars for bean invocation via camel?

2010-10-05 Thread Illtud Daniel
Illtud Daniel wrote: $ cd /usr/local/activemq/lib $ mkdir -p uk/org/llgc/testing $ cp /tmp/HelloWorld.class uk/org/llgc/testing OK, my friendly java programmer tells me you can't put class files in lib directories, you have to package them as jars, and that does indeed appear to

Re: where to put java classes/jars for bean invocation via camel?

2010-10-04 Thread Illtud Daniel
l/activemq/conf/camel.xml]; nested exception is java.lang.ClassNotFoundException: uk.org.llgc.testing.HelloWorld: | org.eclipse.jetty.util.log | main :( -- Illtud Daniel illtud.dan...@llgc.org.uk Prif Swyddog Technegol Chief Technic

Re: where to put java classes/jars for bean invocation via camel?

2010-10-04 Thread Illtud Daniel
avac HelloWorld.java $ cd /usr/local/activemq/lib $ mkdir -p uk/org/llgc/testing $ cp /tmp/HelloWorld.class uk/org/llgc/testing I have that one line defining the bean in camel.xml: ...there must be some other reference to the package that needs making somew

where to put java classes/jars for bean invocation via camel?

2010-10-04 Thread Illtud Daniel
ed in camel.xml: ? I realise this is probably an easy question, and the documentation (+ Manning books) is very good, but does presuppose that you understand something of Java, which is where I fall down. I've tried activemq/lib, but it doesn't find it there. Be

Re: xpath $headerName in 5.4

2010-09-17 Thread Illtud Daniel
On 18/09/10 02:03, Illtud Daniel wrote: My 5.3.x route doesn't work anymore in 5.4 Sorry, that should have gone to the camel list, not activemq. Ignore me. -- Illtud Daniel illtud.dan...@llgc.org.uk Prif Swyddog Technegol

xpath $headerName in 5.4

2010-09-17 Thread Illtud Daniel
x27;t valid xpath, but isn't it camel's way of matching message headers? It worked in 5.3.x and I'm following the docs here: http://camel.apache.org/content-based-router.html http://camel.apache.org/xpath.html Any ideas where I'm going wrong? -- Illtud Daniel

Re: Camel console not seeing my routes

2010-09-16 Thread Illtud Daniel
rowse/activemq/trunk/assembly/src/release/webapps/camel/WEB-INF/applicationContext.xml?r2=993024&r1=992251 Thanks, that works a treat. -- Illtud Daniel illtud.dan...@llgc.org.uk Prif Swyddog Technegol Chief Technical Officer

Camel console not seeing my routes

2010-09-15 Thread Illtud Daniel
7;m probably missing something easy here, but: Is there a way of getting the routes that I've created in the activemq camel.xml configuration file to appear in the camel console so that I can easily tinker with them to test my route configuration (then when I'm happy, I'll hardwire the