Re: How long do the camel headers live in routes?

2009-05-06 Thread Roman Kalukiewicz
2009/5/6 Matteo Redaelli : > > Thanks Claus for you answer, I'll look at the XSD for any future issue. > > But sorry for the silly question: now that I can set a property, how can I > retrieve it in spring xml? > do I have to set a header with the value of my new property to use it in a > velocity

Re: How long do the camel headers live in routes?

2009-05-06 Thread Matteo Redaelli
Thanks Claus for you answer, I'll look at the XSD for any future issue. But sorry for the silly question: now that I can set a property, how can I retrieve it in spring xml? do I have to set a header with the value of my new property to use it in a velocity template? Thanks in advance Matteo

Re: How to process continuous data stream

2009-05-06 Thread Ryan Gardner
On May 6, 2009, at 9:50 AM, will mad wrote: Hi, I would like to write a route inside camel in order to handle the following scenario: Send an http request to a distant system like this one : “GET /execute.cgi?opname=get_notifications HTTP/1.1” When receiving this HTTP request, the distant

Re: Fwd: Saxon cannot write a DOMResult unless saxon9-dom.jar is on the cl asspath

2009-05-06 Thread Willem Jiang
Hi, It may relate to the class loader issue of ServiceMix3. Please check out this faq[1] for more information. [1] http://camel.apache.org/how-to-use-extra-camel-componets-in-servicemix-camel.html Willem will mad wrote: > Hi, > > I work on a simple route using camel 1.6 : > > from("file://c://t

Re: SEDA Component Exception: No producer, this processor has not been started!

2009-05-06 Thread Claus Ibsen
On Wed, May 6, 2009 at 5:39 PM, ariekenb wrote: > > Thanks Claus. > > I haven't done anything special to configure a DeadLetterChannel.  I assume > that means I get the default settings from here > http://camel.apache.org/dead-letter-channel.html (try up to 5 times 1 second > apart)? Yes in Camel

How to process continuous data stream

2009-05-06 Thread will mad
Hi, I would like to write a route inside camel in order to handle the following scenario: Send an http request to a distant system like this one : “GET /execute.cgi?opname=get_notifications HTTP/1.1” When receiving this HTTP request, the distant server responds, in a continuous-session HTTP repl

Re: SEDA Component Exception: No producer, this processor has not been started!

2009-05-06 Thread ariekenb
Thanks Claus. I haven't done anything special to configure a DeadLetterChannel. I assume that means I get the default settings from here http://camel.apache.org/dead-letter-channel.html (try up to 5 times 1 second apart)? Are messages guaranteed to stay in order if the first message goes into t

Re: Error on the Loan Broker Example

2009-05-06 Thread Claus Ibsen
On Wed, May 6, 2009 at 5:29 PM, presende wrote: > > Hi, > > When i run the first time the Loan Broker Example every thing run right, but > if going run another time the client give me a Error. I have stop the server > an start it again. > Have some problem or the example only run in the first time

Error on the Loan Broker Example

2009-05-06 Thread presende
Hi, When i run the first time the Loan Broker Example every thing run right, but if going run another time the client give me a Error. I have stop the server an start it again. Have some problem or the example only run in the first time and the i have to stop the server? Regards, presende -- Vi

Re: SEDA Component Exception: No producer, this processor has not been started!

2009-05-06 Thread Claus Ibsen
Hi Yeah its a race condition. You can configure your timer fire bean to wait eg some longer before it fires the first message. As long as you use the DeadLetterChannel you should in fact not worry as it does redeliveries so in the next attempt it will usually succeed as the producer is started in

SEDA Component Exception: No producer, this processor has not been started!

2009-05-06 Thread ariekenb
I two beans named producer and consumer. Producer starts a java.util.Timer in its init method to pop every 100 ms and send a message to a SEDA queue (using a ProducerTemplate it got from @EndpointInject). Consumer has a method to receive messages from the queue. Here's the camel route:

Fwd: Saxon cannot write a DOMResult unless saxon9-dom.jar is on the cl asspath

2009-05-06 Thread will mad
Hi, I work on a simple route using camel 1.6 : from("file://c://tmp/test/?delete=true").to("xquery:test.xquery"); Camel is deployed as a JBI component inside servicemix 3.3 When putting a file inside my “test” directory, I have sometimes the following error: ERROR – DeadLetterChannel - Failed

Re: File component: autoCreate

2009-05-06 Thread Claus Ibsen
Hi Ah that was an oversigt in the wiki documentation. autoCreate only applies for the file producer. So when you consume with file it expects the starting directory to exists. On Wed, May 6, 2009 at 1:51 PM, Nils Breunese wrote: > Nils Breunese wrote: > >> I'm using Camel 2.0-SNAPSHOT. On http

Re: File component: autoCreate

2009-05-06 Thread Nils Breunese
Nils Breunese wrote: I'm using Camel 2.0-SNAPSHOT. On http://camel.apache.org/file2.html I read that autoCreate has a default value set to true. However, even when I explicitly set autoCreate=true in the URI (file:directoryName?autoCreate=true) I get an endless stream of this repeating messag

File component: autoCreate

2009-05-06 Thread Nils Breunese
Hello, I'm using Camel 2.0-SNAPSHOT. On http://camel.apache.org/file2.html I read that autoCreate has a default value set to true. However, even when I explicitly set autoCreate=true in the URI (file:directoryName?autoCreate=true) I get an endless stream of this repeating message: 6-me

Re: multicast transaction

2009-05-06 Thread Claus Ibsen
On Wed, May 6, 2009 at 11:36 AM, pevgen wrote: > > Hi. > I have a route like this : > > >   >   >         >         >   > > > How can i send my message into the two "to" endpoints in one transaction ? See the transaction client EIP http://camel.apache.org/transactional-client.html You need th

multicast transaction

2009-05-06 Thread pevgen
Hi. I have a route like this : How can i send my message into the two "to" endpoints in one transaction ? Thanks, Evgeny -- View this message in context: http://www.nabble.com/multicast-transaction-tp23403184p23403184.h

Re: camel-cxf content-type response header

2009-05-06 Thread Claus Ibsen
On Wed, May 6, 2009 at 9:17 AM, Marc Giger wrote: > Hi Willem, > > Thanks for looking into this! > > Can I somehow provide my own HeaderFilterStrategy to my setup > (shown in a previous email)? Look for a setHeaderFilterStrategy on either the component or the endpoint itself. This should allow you

Re: camel-cxf content-type response header

2009-05-06 Thread Marc Giger
Hi Willem, Thanks for looking into this! Can I somehow provide my own HeaderFilterStrategy to my setup (shown in a previous email)? Thanks Marc On Wed, 06 May 2009 12:47:09 +0800 Willem Jiang wrote: > Hi Marc, > > After digging the code for a while , I find the camel-cxf of the > camel-1.