Re: Mandatory Imports in Routes

2011-01-09 Thread Fernando Ribeiro
Right, Claus answered int the original forum, he will make sure the doc is fixed. Thanks. On Sun, Jan 9, 2011 at 10:36 PM, Willem Jiang wrote: > I don't think you need to import the org.apache.camel.osgi any more after > camel 2.4.0, as Camel supports OSGi better after that version. > > > On 1/9/

RE: Performance

2011-01-09 Thread Damian Harvey
Willem, The 1000 milliseconds in the SedaConsumer.run() method is a timeout and not a delay. The javadoc says: "Retrieves and removes the head of this queue, waiting up to the specified wait time if necessary for an element to become available." So if a message is available it will take it imme

Re: Performance

2011-01-09 Thread Willem Jiang
If you take a look at the SedaConsumer.run()[1] method, you will find it pull the queue every second, maybe we could introduce some configuration for it to seda to short the delay. [1]https://svn.apache.org/repos/asf/camel/trunk/camel-core/src/main/java/org/apache/camel/component/seda/SedaCon

Re: Mandatory Imports in Routes

2011-01-09 Thread Willem Jiang
I don't think you need to import the org.apache.camel.osgi any more after camel 2.4.0, as Camel supports OSGi better after that version. On 1/9/11 10:35 PM, Fernando Ribeiro wrote: Any feedback here? Thanks. On Tue, Jan 4, 2011 at 2:56 PM, Fernando Ribeiro< webmas...@fernandoribeiro.eti.br> w

Performance

2011-01-09 Thread Damian Harvey
I'm running performance tests and noticing that under load I am getting increasingly large amounts of time spent in the SEDA queues. For example below are some lines from my log when the app is under load (20 concurrent threads). The first is from one Route (Get360List) that then call the calls

RE: How to improve Camel MQ performance

2011-01-09 Thread damianharvey
Thanks Christian. That seems to have improved performance. I had to remove the JMS user/pass from the UserCredentials Factory as Spring would complain that "SingleConnectionFactory does not support custom username and password" Please consider the envi

Re: How to improve Camel MQ performance

2011-01-09 Thread Christian Schneider
Hi Damian, you could try to wrap your connectionfactory in a spring CachingConnectionFactory : http://static.springsource.org/spring/docs/2.5.x/api/org/springframework/jms/connection/CachingConnectionFactory.html It has several settings that could speed up camel jms. Christian Am 09.01.2011

RE: How to improve Camel MQ performance

2011-01-09 Thread damianharvey
My Spring JMS configuration (note that I have commented out the transaction handling to improve performance):

Re: How to improve Camel MQ performance

2011-01-09 Thread Christian Schneider
Can you post your camel jms and configuration? Christian Am 09.01.2011 22:43, schrieb damianharvey: Does anyone have any tips on how to configure Camel to be more performant on WebSphere MQ? I haven't seen any settings to allow MQ to use connection pooling and I'm finding that it isn't perform

How to improve Camel MQ performance

2011-01-09 Thread damianharvey
Does anyone have any tips on how to configure Camel to be more performant on WebSphere MQ? I haven't seen any settings to allow MQ to use connection pooling and I'm finding that it isn't performing well under load - I suspect due to the overhead of opening and closing connections (it's about twice

Re: Passing filename to EXEC

2011-01-09 Thread bbuzzard
I'm sorry, I thought I had replied to your response. I'm using Camel 2.5. -- View this message in context: http://camel.465427.n5.nabble.com/Passing-filename-to-EXEC-tp3294381p3334101.html Sent from the Camel - Users (activemq) mailing list archive at Nabble.com.

Re: Mandatory Imports in Routes

2011-01-09 Thread Fernando Ribeiro
Any feedback here? Thanks. On Tue, Jan 4, 2011 at 2:56 PM, Fernando Ribeiro < webmas...@fernandoribeiro.eti.br> wrote: > Hello, > > I'd also like to ask your help with the issue described at > http://fusesource.com/forums/thread.jspa?threadID=2501&tstart=0 about a > mandatory import in routes tha

Re: Dynamic URI with annotation-based POJOs?

2011-01-09 Thread Claus Ibsen
On Sat, Jan 8, 2011 at 5:53 PM, Dan Checkoway wrote: > Claus et al, > > Thanks for the replies.  I have it working when I do this: > >  http://camel.apache.org/schema/spring";> >     location="file:/usr/local/whatever/config/whatever.properties"/> >   > > ...but I also have this in my app context,

Re: jms and transactional fetching

2011-01-09 Thread Claus Ibsen
Hi If you use transacted JMS then its the broker which handles redeliveries and error handling and such. So check the broker documentation. For AMQ its such pages as http://activemq.apache.org/message-redelivery-and-dlq-handling.html http://activemq.apache.org/redelivery-policy.html Check the AM

jms and transactional fetching

2011-01-09 Thread Marcin Cylke
Hi I've encountered a scenerio I'm unable to implement using Apache Camel. I want to have a component that polls messages from JMS queue and processes them in some way. The problem is, there may be some problems, errors, exceptions, and the processing fails. That's why I need to leave the messa

Re: "Failed to resolve endpoint" on ServiceMix 4.2

2011-01-09 Thread Fernando Ribeiro
I've created an issue at https://issues.apache.org/jira/browse/CAMEL-3517 for this matter. Thanks. On Wed, Jan 5, 2011 at 9:13 AM, Fernando Ribeiro < webmas...@fernandoribeiro.eti.br> wrote: > JB, > > No problems, will actually blog about it next, just wanted to know if > anyone here can help me

Re: Camel-http and multiple Set-Cookie headers

2011-01-09 Thread Martin Krasser
Already did it: https://issues.apache.org/jira/browse/CAMEL-3516 Also, the workaround I described previously only works on the server side (when HTTP responses are written). For reading multiple cookies from an HTTP response on the client side, an extension to HttpProducer is needed as well.

Re: Camel-http and multiple Set-Cookie headers

2011-01-09 Thread Claus Ibsen
Hi Can you create a ticket in the issue tracker? Link is here http://camel.apache.org/support On Fri, Jan 7, 2011 at 8:46 PM, lauri wrote: > > Hi, > > I'm using Camel to integrate service A to service B using camel-http. > Service B is just an external web server that needs to set some cookies

Re: Camel-http and multiple Set-Cookie headers

2011-01-09 Thread Martin Krasser
See also http://groups.google.com/group/akka-user/msg/30aa1b88510ee14e on the Akka ML. Am 08.01.11 10:25, schrieb Dan Checkoway: How about this? http://commons.apache.org/collections/apidocs/org/apache/commons/collections/map/MultiValueMap.html That still implements Map, so users theoreticall