Re: onException not returning a response

2010-02-18 Thread raulvk.soa
Hi Claus, In our recent tests, we introduced a TraceInterceptor stategy, and all of a sudden it worked like a charm! (it sent the response back to the client). Nothing else was changed. We couldn't believe what was going on, so we tried removing it and putting it back again several times with exa

Re: Keep original message several "steps" back.

2010-02-18 Thread ankelee
I mean documenting using the system/routes by drawing diagrams with the symbols for the patterns from the EIP book. Claus Ibsen-2 wrote: > > On Thu, Feb 18, 2010 at 12:52 PM, ankelee wrote: >> >> On another note: >> I'm trying to design this system using the EIP visual notation. I'm not >> sur

Re: Stale values MBean attributes

2010-02-18 Thread Bengt Rodehav
Thanks for your reply Claus. However, I've really tried to Google about this and I haven't managed to find out how this works. If anyone has a hint I would really appreciate it. /Bengt 2010/2/18 Claus Ibsen > On Thu, Feb 18, 2010 at 2:15 PM, Bengt Rodehav wrote: > > I'm creating my own user in

Re: Can we increase the number of threads of a camel to increase performances when we must process ordered messages ?

2010-02-18 Thread Charles Moulliard
yeah. Thanks for the explanation I see the interest to use that now :) Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog : http://cmoulliard.blogspot.com twitter : http://twitter.com/cmoulliard Linkedlin : http://www.linkedin.com/in/charlesmo

Re: Can we increase the number of threads of a camel to increase performances when we must process ordered messages ?

2010-02-18 Thread Claus Ibsen
On Thu, Feb 18, 2010 at 5:43 PM, Charles Moulliard wrote: > I had a look to the stream Resequencer example and I have a last question : > > If we have a thread blocking the processing of one of the message, what will > be the benefit to use a streamResequencer vs consume sequentially  messages > a

Re: Can we increase the number of threads of a camel to increase performances when we must process ordered messages ?

2010-02-18 Thread Charles Moulliard
I had a look to the stream Resequencer example and I have a last question : If we have a thread blocking the processing of one of the message, what will be the benefit to use a streamResequencer vs consume sequentially messages as finally the resequencer has to wait that all the messages have bee

Re: Using HTTPS in camel-http when remote side has self-signed cert

2010-02-18 Thread ychawla
Hello, I would like to monitor an HTTPS endpoint and connect to it in two different ways. I would like to connect to it in one route using HTTPS w/ client certificates and in another route using HTTPS using server certificate only. The reason for doing this is because all the endpoints I am moni

Re: Can we increase the number of threads of a camel to increase performances when we must process ordered messages ?

2010-02-18 Thread Claus Ibsen
And sometimes you can use JMSXGroupID to work with different separated groups of messages in parallel. That can improve performance as well. eg JMSXGroupID can be a stock ID symbol so all messages with the same symbol are processed in order. But different stock symbols can be consumed by multiple

Re: Can we increase the number of threads of a camel to increase performances when we must process ordered messages ?

2010-02-18 Thread Claus Ibsen
On Thu, Feb 18, 2010 at 4:52 PM, Charles Moulliard wrote: > Hi , > > I try to figure out if it is possible or make sense to increase the number > or threads (because we would like to increase performances, ...) of a camel > jms consumer (defined as a endpoint = from) when the messages must be > pr

Can we increase the number of threads of a camel to increase performances when we must process ordered messages ?

2010-02-18 Thread Charles Moulliard
Hi , I try to figure out if it is possible or make sense to increase the number or threads (because we would like to increase performances, ...) of a camel jms consumer (defined as a endpoint = from) when the messages must be processed according to their order ? ex : delivery order of the message

Re: Keep original message several "steps" back.

2010-02-18 Thread Claus Ibsen
On Thu, Feb 18, 2010 at 12:52 PM, ankelee wrote: > > On another note: > I'm trying to design this system using the EIP visual notation. I'm not sure > how to go about this and error handling in general. Are these types of > things supposed to be left out and implicitly handled by the messagning >

Re: Stale values MBean attributes

2010-02-18 Thread Claus Ibsen
On Thu, Feb 18, 2010 at 2:15 PM, Bengt Rodehav wrote: > I'm creating my own user interface for interacting with Camel routes via > JMX. I seem to have a "delay" problem when reading these attributes. E g > when reading the "ExchangesCompleted" attribute, it takes a while (> 1 > minute) after an ex

Stale values MBean attributes

2010-02-18 Thread Bengt Rodehav
I'm creating my own user interface for interacting with Camel routes via JMX. I seem to have a "delay" problem when reading these attributes. E g when reading the "ExchangesCompleted" attribute, it takes a while (> 1 minute) after an exchange is completed before this value is incremented. When rea

Class.forName("net.sourceforge.jtds.jdbc.Driver") called inside spring cannot be found

2010-02-18 Thread lekkie
Hi, I am using the com.mchange.v2.c3p0.ComboPooledDataSource library to create datasource to manage database connection. However, whenever I tried to use the datasource to get a connection it throws classnotfoundexception for net.sourceforge.jtds.jdbc.Driver. I was able to load same class (Class

Re: Keep original message several "steps" back.

2010-02-18 Thread ankelee
On another note: I'm trying to design this system using the EIP visual notation. I'm not sure how to go about this and error handling in general. Are these types of things supposed to be left out and implicitly handled by the messagning system, or what is the general practice here? Claus Ibsen-

Re: onException not returning a response

2010-02-18 Thread Claus Ibsen
On Thu, Feb 18, 2010 at 12:38 PM, raulvk.soa wrote: > > Any clues on what could be happening? > > > raulvk.soa wrote: >> >> Hi, >> >> We are having trouble migrating from Camel 1.4.0 (bundled with ServiceMix >> 3.2.2) to Camel 1.6.0 (SMix 3.3.1). Our only difficulty is with the >> exception handli

Re: onException not returning a response

2010-02-18 Thread raulvk.soa
Any clues on what could be happening? raulvk.soa wrote: > > Hi, > > We are having trouble migrating from Camel 1.4.0 (bundled with ServiceMix > 3.2.2) to Camel 1.6.0 (SMix 3.3.1). Our only difficulty is with the > exception handling. > > Before calling a Camel validator, we have the following

Re: NotifyBuilder "intercept" support

2010-02-18 Thread Johan Haleby
Hi, whenAnyReceivedMatches/whenAnyDoneMatches was indeed what I was looking for, wasn't aware that they corresponded to the two events. This works very well as a work-around for me. The only thing is that in my case I wouldn't actually need a Predicate since my implementation(s) always returns tr

Re: SocketSessionImpl in Mina component retained in memory indefinitely

2010-02-18 Thread Johan Haleby
Done! Thanks a lot for your help so far. /Johan Claus Ibsen-2 wrote: > > On Thu, Feb 18, 2010 at 10:02 AM, Johan Haleby > wrote: >> >> I've now created a small Maven example project that demonstrate the >> issue. >> http://old.nabble.com/file/p27635967/camel-mina-outofmemory-example.zip >>

Re: how to expose (SOAP) webservice using camel

2010-02-18 Thread lekkie
I tried to implement the second method (link) and this is what I came up with. http://rquest.com/"; >

Re: SocketSessionImpl in Mina component retained in memory indefinitely

2010-02-18 Thread Claus Ibsen
On Thu, Feb 18, 2010 at 10:02 AM, Johan Haleby wrote: > > I've now created a small Maven example project that demonstrate the issue. > http://old.nabble.com/file/p27635967/camel-mina-outofmemory-example.zip > camel-mina-outofmemory-example.zip > > You should run the test in "MinaProducerRetainedIn

Re: SocketSessionImpl in Mina component retained in memory indefinitely

2010-02-18 Thread Johan Haleby
I've now created a small Maven example project that demonstrate the issue. http://old.nabble.com/file/p27635967/camel-mina-outofmemory-example.zip camel-mina-outofmemory-example.zip You should run the test in "MinaProducerRetainedInMemoryExample". To speed up the process I use the following VM

Re:

2010-02-18 Thread Charles Moulliard
I have found the trick : Configuring CXF Logging To Go Through Log4J Apparently, CXF has chosen the JSE logging APIas their API against logging. But you can make CXF log through Log4J

Re: how to expose (SOAP) webservice using camel

2010-02-18 Thread Claus Ibsen
On Thu, Feb 18, 2010 at 9:30 AM, lekkie wrote: > > Hi Guys, > > I 'd like to expose a Webservice using camel. I have the WSDL whcih I will > like to be exposed for this service. > > How do I do this? > You can take a look at this example http://camel.apache.org/cxf-async-example.html The source c

how to expose (SOAP) webservice using camel

2010-02-18 Thread lekkie
Hi Guys, I 'd like to expose a Webservice using camel. I have the WSDL whcih I will like to be exposed for this service. How do I do this? kr. -- View this message in context: http://old.nabble.com/how-to-expose-%28SOAP%29-webservice-using-camel-tp27635666p27635666.html Sent from the Camel -

Re:

2010-02-18 Thread Claus Ibsen
On Thu, Feb 18, 2010 at 9:09 AM, Charles Moulliard wrote: > Hi, > > It is possible to use the class LoggingFeature of CXF inside the Camel CXF > Endpoint to log the IN/OUT traffic coming from/to CXF using the following > bean declaration in the camel cxf:bean defintion : class="org.apache.cxf.fea

users@camel.apache.org

2010-02-18 Thread Charles Moulliard
Hi, It is possible to use the class LoggingFeature of CXF inside the Camel CXF Endpoint to log the IN/OUT traffic coming from/to CXF using the following bean declaration in the camel cxf:bean defintion : Unfortunately, this class send the IN/OUT information to the System.out console. Does anybo

Re: "Response received for unknown correlationID"

2010-02-18 Thread Claus Ibsen
Hi On the top of my head I dont think you can retrieve those late messages. But we could probably make a new feature to camel-jms to move those messages to another destination or what you like. Maybe add some pluggable API so you can implement custom logic to handle it yourself. Can you create a

Re: FTP Consumer error 421

2010-02-18 Thread Claus Ibsen
On Wed, Feb 17, 2010 at 7:21 PM, Kevin Jackson wrote: > Hi, > > I have a polling ftp consumer and I'm seeing FTP Error 421 in the logs. > > http://issues.apache.org/activemq/browse/CAMEL-2165 > > This issue seems to suggest that the consumer will just retry, but > that the bug was with the produce