Re: Inject a new exchange based on event

2009-02-02 Thread Claus Ibsen
Hi If the next processor is able to consume such as "direct" or "seda" endpoints then you can just send the 2ND exchange to that. from(x).process(mySpecialProcessor).to(direct:a).to(zzz) And MySpecialProcessor implements Processor { public void process(Exchange exchange) { // if special condi

Spring-DM and ProducerTemplate

2009-02-02 Thread paquettd
So I have a spring file that looks something like this. I'm using Spring-DM and Camel 1.5.0. So this file is in META-INF/spring in my OSGi bundle. http://activemq.apache.org/camel/schema/spring";> So what I've found is

Inject a new exchange based on event

2009-02-02 Thread aruch
Hello, I'm using Camel 1.5. I'm trying to find the best way to inject a new exchange based on the existing exchange. For example, I have a processor. When the processor receives an exchange and if the exchange matches the criteria, I would like to send the original exchange AND a completely new

Re: restlet usage / process

2009-02-02 Thread Jon Anstey
The latest 2.0-SNAPSHOT should contain the fix since its dated Feb 1 http://people.apache.org/maven-snapshot-repository/org/apache/camel/apache-camel/2.0-SNAPSHOT/apache-camel-2.0-20090201.110840-21.zip On Mon, Feb 2, 2009 at 3:32 PM, nojonojo wrote: > > > I see that http://issues.apache.org/ac

Re: restlet usage / process

2009-02-02 Thread nojonojo
I see that http://issues.apache.org/activemq/browse/CAMEL-1284 was created and fixed as a response to this issue. I have a process question - when will the 2.0-SNAPSHOT downloads contain this fix? (Preferable to compiling it myself, though that wouldn't be that big of a deal). Thanks. Nolan

Help with camel relaying HTTP msg between .Net web client and .Net service.

2009-02-02 Thread aliasrob
Hello, we are using a .NET client to communicate over http: with a .NET web service. We are attempting to send a message directly to Camel from the .NET client, and then have camel relay that message to the service. Then the service will then reply back to Camel and Camel should send that reply

Re: Support for multipart/alternative mail messages

2009-02-02 Thread Claus Ibsen
Hi Take a look at http://camel.apache.org/mail.html And I guess in the unit tests of the component there are some html/text mail samples. Its basically a copy of the mail component in SMX if that helps. On Sun, Feb 1, 2009 at 10:54 PM, MarkBi wrote: > > Does Camel-mail 1.5 have support for mu

No SoapAction Header error

2009-02-02 Thread Liav Ezer
Hi, I'm trying to invoke an http soap-provider endpoint from my camel API via producer template. I keep getting an error indication that there is no soap header action. This is my code. Bolded is trying to explicity guide the route to my desired operation - but still doesn't work... RouterBui

Re: trouble with a http body in my processor

2009-02-02 Thread Willem Jiang
I guess it's caused by the stream is not been cached. Please try to enable the streamCaching in your route like this http://localhost:8889/app"/> Willem pevgen wrote: > > pevgen wrote: >> Hello, all. >> >> I wrote a route into my spring-config

Re: howto expose a route via ws in a spring file without writing java code?

2009-02-02 Thread Willem Jiang
Hi, AFAIK, cxf/http bc just wrap a message stream with a JBI message envelop, the message's marshaling and unmarshaling work will be done by cxf se. For the bc part, it doesn't care about the SEI (service endpoint interface) which holds the xml and java object instance mapping information. In Ca