Route question

2011-10-28 Thread johnston73
Hi Appreciate your suggestions on my design of routes below. Suppose I have a scenario: I have An processes talking to multiple services Bm using message publish/subscribe pattern. A1...An B1...Bm I design my routes as follows: R1: from("topic:B1.*") to("A1") R2: from("topic:A

Re: Spliter in Camel

2011-10-28 Thread ebinsingh
Thanks a lot Christian. I just noticed that adding an aggregater slows down the process and it's huge. Without the aggregation, the time taken between parsing each line of data is in nanoseconds (very negligible), but as I add the aggregarion to it, the time taken by between parsing each line of d

Re: Persisting a variable over different exchanges

2011-10-28 Thread Donald Whytock
When you say "between exchanges", you mean you need access to the data in a processor regardless of what exchange the processor is handling? Would this be easier with a static field in the processor? Don On Fri, Oct 28, 2011 at 11:34 AM, Romain Manni-Bucau wrote: > Hi, > > Try properties instea

Re: Persisting a variable over different exchanges

2011-10-28 Thread Romain Manni-Bucau
Hi, Try properties instead pf headers. It is the main diffrence between both. - Romain Le 28 oct. 2011 17:25, "ychawla" a écrit : > Hello All, > I frequently set headers on an exchange so I can access them at different > points on a route. Is there a way to persist a variable between differen

Persisting a variable over different exchanges

2011-10-28 Thread ychawla
Hello All, I frequently set headers on an exchange so I can access them at different points on a route. Is there a way to persist a variable between different exchanges? I have a timer that will query a database every minute. I want to store the last record I queried so I only get new records.

component lifecycle and cache

2011-10-28 Thread Babel
Hello Everyone I didn't get the componenet lifecycle, my key question : does it make sens to implement a cache at the component level (which means I may store previous out of the consumer and only process it without using my consumer whenever I have several routes coming "from" the same cons

Validation supporting schemas with includes?

2011-10-28 Thread Lars
I'm using Camel 2.8.2 and I try to use the Validator with a schema which includes other schemas? Is this functionality supported? If yes, how do I specify the schemas? Lars Stuevold -- View this message in context: http://camel.465427.n5.nabble.com/Validation-supporting-schemas-with-includes-t

Re: Rate of messages sent to JMS

2011-10-28 Thread ajay.karthik.nn
Hashtable env = new Hashtable(); env.put(Context.PROVIDER_URL, "tcp://10.58.116.18:61616?daemon=true"); env.put(Context.INITIAL_CONTEXT_FACTORY, "org.apache.activemq.jndi.ActiveMQInitialContextFactory"); InitialContext ic = new InitialContext(env); QueueConnectionFactory queueConnectionFactory = (Q

Re: CamelTestSupport doesn't load Custom TypeConverter

2011-10-28 Thread Frankie.Shen
Camel 2.7 what do u mean classpath contains my custom typeconverter , the xxxconverter.java file is in the src folder -- View this message in context: http://camel.465427.n5.nabble.com/CamelTestSupport-doesn-t-load-Custom-TypeConverter-tp4945011p4945405.html Sent from the Camel - Users mailing

Re: Unreleased thread, possible in SMPP component

2011-10-28 Thread Christian Müller
Hello Antony! Unfortunately the jsmpp project is not very active (2 commits since Dec 2009). May we can provide a patch for the jsmpp library to get this issue fixed soon. Do you consider to do this? Best, Christian

Re: CamelTestSupport doesn't load Custom TypeConverter

2011-10-28 Thread Claus Ibsen
What version of Camel are you using. And make sure the classpath contains the custom type converter, so the file can be discovered. On Fri, Oct 28, 2011 at 7:36 AM, Frankie.Shen wrote: > I write a custom TypeConverter , and i also add > META-INF/services/org/apache/camel/TypeConverter > > it wo