Re: Restlet HTTP status and message

2010-10-01 Thread mat127
I am afraid the restlet component does not set the HTTP response code anywhere. I am using a simple logger to inspect the Exchange instance comming from the restlet: where the ExchengeHeadersInspector is coded in Scala: import org.apache.camel.Exchange import se.scalablesolutions.akka.

Re: Restlet HTTP status and message

2010-10-01 Thread Claus Ibsen
Hi Ah looks like an oversight in the restlet component. I have created a ticket to add the status code and some other details missing https://issues.apache.org/activemq/browse/CAMEL-3185 On Fri, Oct 1, 2010 at 10:00 AM, mat127 wrote: > > I am afraid the restlet component does not set the HTTP r

Re: publishedEndpointUrl for cxf:cxfEndpoint

2010-10-01 Thread Ashwin Karpe
Hmm... Not sure why setting the address attribute in the spring.xml file does not change the address for you since that is the value that overrides the WSDL address... I know that it works!!! In any case, looks like you need to have the same service running on different machine with a different

Re: Camel Social component 'PoC' ready

2010-10-01 Thread Donald Whytock
This is input-only, correct? Are there plans for output component(s) too? Don On Thu, Sep 30, 2010 at 3:08 PM, Bruno Borges wrote: > Hadrian, remember the talk we had on ApacheCon 2009? > I know I took almost a year to have this thing done. Sorry for taking so > long! But here it goes. > > I ju

Camel-FTP

2010-10-01 Thread Prerna Kaul
How do I specify a "proxy" url on the camel ftp endpoint?? There doesn't seem to be an example here - http://camel.apache.org/ftp2.html I would really appreciate any help I you could give me. Thanks! --- This communication may contain confidential and/or privileged information. If you are not

Re: Camel-FTP

2010-10-01 Thread Richard Kettelerij
Camel's FTP component uses the FTPClient included in Apache Commons Net. The FAQ of Commons net discusses how to setup FTP connections through a proxy. Take a look at http://wiki.apache.org/commons/Net/FrequentlyAskedQuestions and scroll down to "Does FTPClient support FTP connections through an F

Re: Camel Social component 'PoC' ready

2010-10-01 Thread Bruno Borges
It will depend on the provider (social network). The component itself has support for updating social stream. For instance: from("direct:a").to("social://twitter/home"); Will update user status. Bruno Borges www.brunoborges.com.br +55 21 76727099 "The glory of great men should always be meas

message losing headers

2010-10-01 Thread Mark Webb
I am passing a message through a series of Processors and in the course of this processing I am setting header information in the Message objects. I have run into a problem where after setting a header value in one Processor, the next Processor in the routing does not see it. I have run through s

Re: How to handle firefox outputting files, as component?

2010-10-01 Thread David Yang
Thanks for the response Richard - was very helpful. Any sense of how large exchange message bodies can get? Should we use that itself as the transfer mechanism or have some other form of transport? I'm also curious if we want to reuse a bunch of these components we're creating across various

Re: How to handle firefox outputting files, as component?

2010-10-01 Thread Bruno Borges
Usually, files are not transported inside the message. They are written to the disk and a reference to it is then exchanges (java.io.File). I guess you will have no problem about that. Cheers Bruno Borges www.brunoborges.com.br +55 21 76727099 "The glory of great men should always be measured by

Re: message losing headers

2010-10-01 Thread Stephen Gargan
You may want to read the Notes section in the JMS Component where is describes valid headers. http://camel.apache.org/jms.html Check that you have no '-' or the like in the header names. What do the dropped headers look like? thx ste On Fri, Oct 1, 2010 at 12:46 PM, Mark Webb wrote: > I am pa

Using Asynchronous Processors -- a little help

2010-10-01 Thread Seth Call
I'm a little lost on Asynchronous Processors. My goal is to not use threads needlessly, so that's why I'm zeroed in on Asynchronous Processors. First off, is it fair to assume that JMS can be fully asynchronous when using a request-reply schema? Assuming so, here' is my problem: I don't really

Re: message losing headers

2010-10-01 Thread Mark Webb
They are just strings. Seems like once I changed the destinations from queues to direct: the header information started carrying over. Must be once the message leaves Camel the header information is gone. Thanks for the help On Fri, Oct 1, 2010 at 4:17 PM, Stephen Gargan wrote: > You may want

message not getting delivered

2010-10-01 Thread Mark Webb
I am sending messages through a Camel route in ActiveMQ. My message reaches the end of the processing chain, and at the last processor I call exchange.setOut( newly created DefaultMessage ). When I look at the admin page for ActiveMQ, the topic shows that there is a message to be dequeued. It ev

Re: How to change directory while using sftp component

2010-10-01 Thread Lorrin Nelson
Hi Claus. Ack, sorry about that. I'm pulling through github rather than SVN directly and then running via a Maven project pointing at my locally built Camel, so it's sometimes confusing how up-to-date I am. So I think I have current code, including checkin "CAMEL-3174: Changing dir with ftp mus

Re: message losing headers

2010-10-01 Thread Donald Whytock
I tried passing headers in messages on a SEDA queue, and saw that the header name was converted from mixed case to lowercase by the setHeader() method. Is this intended behavior? And is it perhaps making headers appear to disappear? Don On Fri, Oct 1, 2010 at 4:24 PM, Mark Webb wrote: > They a

Re: Using Asynchronous Processors -- a little help

2010-10-01 Thread Ashwin Karpe
Hi, There are several issues in your route definition & usage. 1> I am not sure what the first route from("seda:test").to("jms:queue:a.test"); is doing for you. 2>Looking at your 2nd route segment, you are sending a request to a JMS consumer (jms:queue:a.test). The problem is th

Re: How to receive soap response attachment using Camel-Http component

2010-10-01 Thread Ashwin Karpe
Hi, You cannot do this using a camel-http endpoint. The HTTP endpoint supports all kinds of Markup Languages and does not care about SOAP, XML, HTML etc... In order to get proper attachment support you need to use a CXF producer endpoint, & when the response arrives, use a processor to get the a

Re: publishedEndpointUrl for cxf:cxfEndpoint

2010-10-01 Thread Scott Christopher
On 02/10/2010, at 1:18 AM, Ashwin Karpe wrote: > Not sure why setting the address attribute in the spring.xml file does not > change the address for you since that is the value that overrides the WSDL > address... I know that it works!!! My apologies, the cxfEndpoint address does allow you to set