Re: Using FTP

2011-11-18 Thread Claus Ibsen
On Fri, Nov 18, 2011 at 8:29 PM, kiran wrote: > Hi, > > Is it mandatory that to use FTP component in camel it needs to be chained > with a File component? for eg from ("file://) to ("ftp")? Can I chain > directly a bean output to ftp component like from(bean) to (ftp) or create a > direct end poin

Using FTP

2011-11-18 Thread kiran
Hi, Is it mandatory that to use FTP component in camel it needs to be chained with a File component? for eg from ("file://) to ("ftp")? Can I chain directly a bean output to ftp component like from(bean) to (ftp) or create a direct end point to the ftp component? If the second and third case is f

Re: Regarding mail reading

2011-11-18 Thread Bilgin Ibryam
You need to have something like this in your doInBackground method instead: main = new Main(); main.enableHangupSupport(); main.addRouteBuilder(new MyRouteBuilder()); main.run(); Bilgin On Fri, Nov 18, 2011 at 6:20 PM, Ketan Barapatre wrote: > > Thank You for rep

Re: A High Level Data Translation Question

2011-11-18 Thread Christian Müller
Hello Eric! What's about something like this: from("cxf://bean:wsService") .convertBodyTo(SomeOther.class) .to("activemq://queue:foo") The default dataFormat for the CXF component is POJO. So you will receive a java bean. Implement your own type converter [1] to convert the web service reque

Re: CSV to database

2011-11-18 Thread Christian Müller
Yes, it is possible. You have multiple possibilities to extract the data from the database [1], [2], [3], [4], [5]. Than you can use the bean component [6], a processor [7] or the type converter mechanism [8] to transform the data. And to write the data into the database, you have the same possibil

Re: sftp and path

2011-11-18 Thread oritush
the stepwise option did work for me thanks a lot and have a great weekend!!! -- View this message in context: http://camel.465427.n5.nabble.com/sftp-and-path-tp5002111p5005630.html Sent from the Camel - Users mailing list archive at Nabble.com.

A High Level Data Translation Question

2011-11-18 Thread Castyn
This is a fairly basic (but loaded) question I think, but I need some guidance on which way to go and what to look into specifically as I learn more and more about Camel. If in a route I have a large and complicated SOAP XML message that I need to do a significant amount of manipulation and calcul

Re: CSV to database

2011-11-18 Thread Idriss
Hi all, I try to extract data from a database and load it in an other database. I want to know is there a way to do this with came? Thank you Idriss -- View this message in context: http://camel.465427.n5.nabble.com/CSV-to-database-tp4435750p5005300.html Sent from the Camel - Users mailing li

Re: CFX - problem when receiving web service response

2011-11-18 Thread kafe
I modified JBoss "server/default/deploy/jbossweb.sar/server.xml" http connector and set compression="1" but same result :-( -- View this message in context: http://camel.465427.n5.nabble.com/CXF-problem-when-receiving-web-service-response-tp4994825p5005205.html Sent from the Camel - Users mailing

Re: Queue/Dequeue perfomance InOut ExchangePattern

2011-11-18 Thread Christian Müller
If you use an embedded broker, you should consider using the VM (vm://brokerName) protocol instead of TCP (tcp://localhost:61616). But this has nothing to do with your issue... ;-) If you have to achieve high throughput, you should consider using async messaging (two inOnly routes instead of one I

Re: Routing Message to remote ActiveMQ

2011-11-18 Thread Castyn
Thanks, it works now in the spring DSL just by changing it to I appreciate the quick assist! -- View this message in context: http://camel.465427.n5.nabble.com/Routing-Message-to-remote-ActiveMQ-tp5004610p5005119.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Regarding mail reading

2011-11-18 Thread Ketan Barapatre
Thank You for reply. I did two things but not getting any result. 1. Created Simple UI with JButton and Created class MailPoller public class MailPoller extends javax.swing.SwingWorker{ public Object doInBackground() throws Exception{ try { camelContext.addRoutes

Re: http4 Component not exposing HttpContext

2011-11-18 Thread Jeff Segal
Thanks Claus. I created https://issues.apache.org/jira/browse/CAMEL-4693 for this. I'll also see if I can roll my sleeves up and provide a patch for it. On Fri, Nov 18, 2011 at 3:28 AM, Claus Ibsen wrote: > Hi > > Seems like a good idea to add support for that HttpContext. > > We love contributi

Queue/Dequeue perfomance InOut ExchangePattern

2011-11-18 Thread Carlos Manuel Figueiredo
I'm using Camel with Activemq to implement a simple queue where I can enqueue some requests (a simple xml) to be consumed latter. To consume I use the InOut ExchangePattern and PoolEnrich. My issue is the lack of performance during the dequeue process. When I POST some requests it has very ni

Re: Routing Message to remote ActiveMQ

2011-11-18 Thread boday
by default, JMS is InOnly mode and will only return an ACK that the message was received. You need to explicitly set it to InOut to enable request/reply behavior... see this test... https://svn.apache.org/repos/asf/camel/trunk/components/camel-jms/src/test/java/org/apache/camel/component/jms/Jms

Routing Message to remote ActiveMQ

2011-11-18 Thread Castyn
I am trying to send a static message to a JMS queue on another instance of servicemix that a team I work with manages, so I am using a velocity template that is the SOAP message and routing to a remote activeMQ. I have the connection information and have configured it in the spring xml along with

Re: CFX - problem when receiving web service response

2011-11-18 Thread kafe
Hum... can you be more precise please ? How can i do that ? Thanks for your help. -- View this message in context: http://camel.465427.n5.nabble.com/CXF-problem-when-receiving-web-service-response-tp4994825p5004310.html Sent from the Camel - Users mailing list archive at Nabble.com.

Network is unreachable

2011-11-18 Thread yadavi
Hi, I am trying to get soap request form wsdl and passing that request to the output folder. But i am getting this error.When i deploy the jar into servicemix it gives SocketException Here are my camel-context file and StockRouteBuilder class. ##Camel-context file. http://www.springframework.org/

How to reset the body content before routing to next endpoint

2011-11-18 Thread kanmisc
Hi I have similar routes as below - ftp://InputLlocation"; /> ftp://successLocation"; /> ftp://failedLocation"; /> After reading from the first route(/ftpIn/), /registrationProcess/ bean cre

Re: Remotely pulling messages using CAMEL

2011-11-18 Thread newbiee
Hadrian --- Thank you very much for all the hard work you have done. I am going through the code and will be posting my questions later today. -- View this message in context: http://camel.465427.n5.nabble.com/Remotely-pulling-messages-using-CAMEL-tp4971149p5004013.html Sent from the Camel

Re: http4 Component not exposing HttpContext

2011-11-18 Thread Claus Ibsen
Hi Seems like a good idea to add support for that HttpContext. We love contributions http://camel.apache.org/contributing.html So feel free to create a JIRA and if possible attach a patch as well. On Thu, Nov 17, 2011 at 6:54 PM, Jeff Segal wrote: > Hi all, > > I have a technical problem as w

Re: sftp and path

2011-11-18 Thread Claus Ibsen
Hi What version of Camel are you using? And what's the SFTP endpoint configuration? And have you looked at the stepwise option on the ftp component? http://camel.apache.org/ftp2 And have you tried upgrading to a newer version of Camel. On Thu, Nov 17, 2011 at 7:51 PM, oritush wrote: >  I have