Re: Regarding mail reading

2011-10-29 Thread Bilgin Ibryam
Hi Ketan, A good starting point for Camel is http://camel.apache.org/getting-started.html and Camel in Action book. For receiving emails you have to take a look at the examples here http://camel.apache.org/mail.html Also reading the tests from the source code helps a lot understanding the compone

Re: Camel JBI Interaction

2011-10-29 Thread diwakar
Hi, Thanks for the reply. Servicemix 3.3.2 camel component pakages Camel 2.2 core. How can I use latest Camel (2.8.2) in Servicemix 3.3.2. Please let me know. With Best Regards, Diwakar -- View this message in context: http://camel.465427.n5.nabble.com

Re: Creating routes dynamically

2011-10-29 Thread Johm Mac
The endpoints are strings - nothing prevents you from externalising such information (say in a config file) and then build the endpoint urls based on values in there that you read in at start-up time. Processors can be equally created 'late'. If the class you are using has state you can insan

Re: Creating routes dynamically

2011-10-29 Thread tkatva
Also being able to add processors to each target endpoint would be necessary... -- View this message in context: http://camel.465427.n5.nabble.com/Creating-routes-dynamically-tp4948062p4948350.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: component lifecycle and cache

2011-10-29 Thread Claus Ibsen
On Fri, Oct 28, 2011 at 5:04 PM, Babel wrote: > 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 whene

Re: Validation supporting schemas with includes?

2011-10-29 Thread Claus Ibsen
On Fri, Oct 28, 2011 at 1:13 PM, Lars wrote: > 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? > Have you tried to include the other schemas from a schema file? I assume y

Re: Rate of messages sent to JMS

2011-10-29 Thread Claus Ibsen
On Fri, Oct 28, 2011 at 11:57 AM, ajay.karthik.nn wrote: > 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 Ini

Regarding mail reading

2011-10-29 Thread Ketan Barapatre
Hello All, I want to develop an application where I can get the text of incoming mails (gmail or any mail server). Mail can be of plain text or text\html types. I am new to Apache Camel. Please guide me. -- Regards Ketan Barapatre

Re: Persisting a variable over different exchanges

2011-10-29 Thread Claus Ibsen
On Fri, Oct 28, 2011 at 5:37 PM, Donald Whytock wrote: > 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? > Yeah Camel creates a new Exchang

Creating routes dynamically

2011-10-29 Thread tkatva
Hi I am newbie with Camel and it seems to be very powerful framework. One thing that I haven't found out yet is that how can you create routes programmatically/dynamically? So let's say I created following code :   camel = new DefaultCamelContext();                                 camel.

Re: Spliter in Camel

2011-10-29 Thread Claus Ibsen
On Wed, Oct 26, 2011 at 9:52 PM, ebinsingh wrote: > Hi, > > I have a file of 300,000 records and i use the split mechanism of Camel to > split them and sends each record to a processer. > Does Camel store these records on a heap or somewhere before it sends them > to the processer. How does Camel

Re: Spliter in Camel

2011-10-29 Thread Christian Schneider
Hi Ebe, the aggregator as you defined it has no notion of completeness of a file. It can only aggregate using the correlation expression and the aggregationstrategy. It will send out the aggregated exchange as soon as either the timeout is reached or the completionsize is reached. So when you