just a greeting

2009-12-09 Thread Nick Chistyakov
Hello to all! For the following 4-5 months I myself and 2 other developers of my team, we are going to have a long ride on camel. I must confess that I admire the architectural concepts and goals of this framework. After almost a year of hell with JSF-based web applications it seems that I at las

Re: just a greeting

2009-12-09 Thread Nick Chistyakov
Hi Ibsen Thanks in advance :) Right now things are going smoothly -- Nick On Wed, Dec 9, 2009 at 2:29 PM, Claus Ibsen wrote: > Hi Nick > > Welcome to the Camel community. > > > On Wed, Dec 9, 2009 at 11:36 AM, Nick Chistyakov > wrote: > > Hello to all! > > &

question: best practice to use camel's Producer class

2009-12-10 Thread Nick Chistyakov
Hi guys, What is actually the best practice to use camel's Producer class? Is it expensive to create, for example, to create it every time when message is processed. Or is it better to store a reference to it somewhere in a class scope? Best regards, Nick

Re: question: best practice to use camel's Producer class

2009-12-10 Thread Nick Chistyakov
is better to have producer as a member of class OrderProcessor? or because of that local cache I can forget about it? Best regards, Nick On Thu, Dec 10, 2009 at 5:58 PM, Claus Ibsen wrote: > On Thu, Dec 10, 2009 at 3:44 PM, Nick Chistyakov > wrote: > > Hi guys, > > > >

Re: question: best practice to use camel's Producer class

2009-12-10 Thread Nick Chistyakov
Great! Thanks a lot, Claus On Thu, Dec 10, 2009 at 6:33 PM, Claus Ibsen wrote: > On Thu, Dec 10, 2009 at 4:11 PM, Nick Chistyakov > wrote: > > Hello James, > > > > Thanks for a fast response! > > My question is actually about Producer - not about Pro

question about performance measurement

2009-12-10 Thread Nick Chistyakov
Hello to all, Now, when I have a system consisted of several modules interacting with each other via JMS (ActiveMQ is used) The question of performance raises. Because, sure, if I change something I whant to see how it tells on overall performance of the system. That question is: What do you guy

Re: question about performance measurement

2009-12-11 Thread Nick Chistyakov
> > [1] > https://svn.apache.org/repos/asf/camel/trunk/tests/camel-itest/src/test/java/org/apache/camel/itest/jms/JmsPerformanceTest.java > > Willem > > > > Nick Chistyakov wrote: > >> Hello to all, >> >> Now, when I have a system consisted of several modules >

exception in load-testing using DataSet component

2009-12-13 Thread Nick Chistyakov
Hello to all, I found several examples that are using DataSet (SimpleDataSet) for load tests. So I wrote that simple test: package com.etna.sandbox; import javax.jms.ConnectionFactory; import javax.naming.Context; import org.apache.activemq.ActiveMQConnectionFactory; import org.apache.camel.bui

Re: exception in load-testing using DataSet component

2009-12-14 Thread Nick Chistyakov
> > > If send a large amount of message, you need to add some sleep time in > your > > testPerformance() method, to let camel finish the DataSet sending. > > > > There is also a method on mock endpoint to set the "sleep time". > > > > Willem > &g

question: ActiveMQ component - optimization technics

2009-12-27 Thread Nick Chistyakov
Hello guys, Merry christmas! Hope you are having a good time! Sometimes, reading the project documentation, I come across the declarations that the ActiveMQ component of Camel project is set up with a number of optimizations in mind, Can you please be more concrete - what kind of optimizations?

Re: question: ActiveMQ component - optimization technics

2009-12-28 Thread Nick Chistyakov
Hi Claus! Not the easiest way to get to know it :))) But thanks! Best regards, Nick On Mon, Dec 28, 2009 at 11:57 AM, Claus Ibsen wrote: > Hi > > > On Sun, Dec 27, 2009 at 6:42 PM, Nick Chistyakov > wrote: > > Hello guys, > > > > Merry christmas

Re: question: ActiveMQ component - optimization technics

2009-12-28 Thread Nick Chistyakov
Yes, Claus :) I understand :) No offense meant! On Mon, Dec 28, 2009 at 9:32 PM, Claus Ibsen wrote: > On Mon, Dec 28, 2009 at 3:24 PM, Nick Chistyakov > wrote: > > Hi Claus! > > > > Not the easiest way to get to know it :))) > > But thanks! > > This is

onException: cannot get an exception object form exchange properties.

2010-02-10 Thread Nick Chistyakov
Hello camel riders! I found a problem on getting an exception object out of exchange. If I declare a route like this: onException(Exception.class) .handled(true) .to("jms:errrors"); Then, I should be able to write a code like this: Exchange e = consumer.receive

Re: onException: cannot get an exception object form exchange properties.

2010-02-11 Thread Nick Chistyakov
che.org/jms.html > > On Wed, Feb 10, 2010 at 6:35 PM, Nick Chistyakov > wrote: > > Hello camel riders! > > I found a problem on getting an exception object out of exchange. > > If I declare a route like this: > > onException(Exception.class) > >