Re: camel-ftp and login script

2010-07-05 Thread Bengt Rodehav
That sounds exactly right Claus. Will it make it to Camel 2.4? It might be good to prepare the format for more than exactly 1 command. Either a series of commands or a file containing a login script. Most of the time I would assume that a single command should suffice - but not always. Maybe two

Re: camel-ftp and login script

2010-07-05 Thread Andreas Asmuss
Hi, I'm still in need of this functionality. Do any of you guys have an idea for a workaround to use until this is implemented in Camel? -- View this message in context: http://camel.465427.n5.nabble.com/camel-ftp-and-login-script-tp599274p696453.html Sent from the Camel - Users mailing list

Re: XMPP. Different resources for producer and consumer.

2010-07-05 Thread Евгений Лиукконен
Thanks for your reply, Claus! As you advised, I’ve looked up bug tracker entities. It’s look like there was a similar problem, https://issues.apache.org/activemq/browse/CAMEL-1884[no connection share for XMPP producer and consumer], but it marked as solved. I’ll try to understand, what I’m doing

R: Camel web console and servlet component

2010-07-05 Thread Cappa Roberto
Hi, I've already tried this solution, but if I remove the contextConfigLocation init-param, this exception is thrown: [11:11:04,281 ERROR] ContextLoader.initWebApplicationContext(215) - Context init ialization failed org.apache.camel.RuntimeCamelException: java.lang.IllegalArgumentException:

XMPP protected rooms

2010-07-05 Thread Евгений Лиукконен
Hello. With Camel I can get a user-to-user and chat connections. Is it possible to connect protected chat rooms? Documentation describes password option, but it corresponds only to user, not to room. As I can see, camel-xmpp source code has no password checks (multi-user chats joined with

camel-jaxb stax

2010-07-05 Thread Charles Moulliard
Hi, Can we provide to the jaxb unmarshaller of camel an object of one of these types ? - StAX XMLStreamReader: - StAX XMLEventReader: KR, Charles Moulliard Senior Enterprise Architect (J2EE, .NET, SOA) Apache Camel - ServiceMix Committer ~~~

XMPP Component Questions

2010-07-05 Thread alessandro.cangini
Greetings, I'll explain my problem shortly, i'm currently working on a project that uses apache servicemix and apache camel for routing messages, now i'm working on the XMPP-related stuff and i have some problems (please forgive my slightly incompetence) 1) configuring the route in the usual

Configuration of connection timeout when transmitting files to remote SFTP server?

2010-07-05 Thread Mattias Severson
Hi, How do I set the connection timeout when connecting to a remote FTP server? I attempt to use the ftpClient.connectionTimeout of the http://commons.apache.org/net/api/org/apache/commons/net/ftp/FTPClient.html FTPClient class. It seem to work if the server uses FTP and FTPS, e.g.

Re: Configuration of connection timeout when transmitting files to remote SFTP server?

2010-07-05 Thread Claus Ibsen
On Mon, Jul 5, 2010 at 3:27 PM, Mattias Severson mat...@gmail.com wrote: Hi, How do I set the connection timeout when connecting to a remote FTP server? I attempt to use the  ftpClient.connectionTimeout of the http://commons.apache.org/net/api/org/apache/commons/net/ftp/FTPClient.html

My camel-CXF tests fails, if they run together

2010-07-05 Thread Christian Müller
Hello list, I using Apache Camel 2.2.0-fuse-01-00 and I have trouble to run my four unit tests. If I run each test separate (annotate the other tests with @Ignore or run only one test method in my IDE) all tests succeed. But if I run all tests together (one test after the others) with Maven or in

Re: My camel-CXF tests fails, if they run together

2010-07-05 Thread Christian Müller
After some additional tests it looks like, that each second test fails because of this. If I run all tests, number one succeed, number two fails, number three succeed and number four fails. If I comment number number two, number three fails and number four succeed. If I comment number two and

Using Policy to alter Definitions before building

2010-07-05 Thread Mark Proctor
As well as using Policy to wrap the child processors, I'd like to be able to change/augment the child definitions before they are built. My current use case for this is so I can augment the DataFormats, with additional configurations. Additionally this Policy also takes care of setting the

Re: XMPP Component Questions

2010-07-05 Thread Евгений Лиукконен
Sorry, if I’ve understood you wrongly, but perhaps you can send messages exactly from your processor --- SomeProcess? Something like that: private CamelContext camelContext; // somewhere you create a camel context … class SomeRoutes extends RouteBuilder { private ProducerTemplate

Re: Using Policy to alter Definitions before building

2010-07-05 Thread Claus Ibsen
Hi Have you looked at org.apache.camel.spi.InterceptStrategy? On Mon, Jul 5, 2010 at 5:00 PM, Mark Proctor mproc...@codehaus.org wrote: As well as using Policy to wrap the child processors, I'd like to be able to change/augment the child definitions before they are built. My current use

Re: org.apache.camel.FailedToCreateProducerException Reason: java.lang.ArrayIndexOutOfBoundsException

2010-07-05 Thread hiba
Thank you :) . I will try out the latest camel2.4. Is this released yet?I see that the release is in progress in the website. http://camel.apache.org/camel-240-release.html When is it supposed to be released? Best Regards Hiba -- View this message in context:

Re: Using Policy to alter Definitions before building

2010-07-05 Thread Mark Proctor
On 05/07/2010 16:32, Claus Ibsen-2 [via Camel] wrote: Hi Have you looked at org.apache.camel.spi.InterceptStrategy? Looking at the code, the child Processor instance is already created, so I'm not sure it would be safe to change the child definitions? Mark On Mon, Jul 5, 2010 at 5:00

RE: SFTP hangs after a day or two

2010-07-05 Thread Pitre, Russell
Hi Adding the disconnect=true option to the sftp uri seems to have solved my issue. -Original Message- From: Claus Ibsen [mailto:claus.ib...@gmail.com] Sent: Friday, July 02, 2010 12:42 PM To: users@camel.apache.org Subject: Re: SFTP hangs after a day or two Hi Camel 2.4 has

Re: My camel-CXF tests fails, if they run together

2010-07-05 Thread Christian Schneider
Hi Christian, you are doing some setup in your @Before method. This method will be called before each test method. Is this what you intend? If you only want the code to be executed once you should try @BeforeClass. Greetings Christian Am 05.07.2010 16:39, schrieb Christian Müller: After

Re: My camel-CXF tests fails, if they run together

2010-07-05 Thread Willem Jiang
Hi Christian, Welcome to the timeout world :) It's cause by the HTTP's keep alive mechanism, when the client sends out the request with the keep alive header (which is default for cxf client), the server will keep the socket open until the timeout. For you case, you start a new http serve

Re: R: Camel web console and servlet component

2010-07-05 Thread Willem Jiang
The ServletComopnent need to locate the CamelHttpTransportServlet when the servlet endpoint is started, maybe you can set the route with notAutoStart, and start the route from the console to workaround the below issue. Willem -- Apache Camel, Apache CXF

Re: Using Policy to alter Definitions before building

2010-07-05 Thread Claus Ibsen
On Mon, Jul 5, 2010 at 5:53 PM, Mark Proctor mproc...@codehaus.org wrote:  On 05/07/2010 16:32, Claus Ibsen-2 [via Camel] wrote: Hi Have you looked at org.apache.camel.spi.InterceptStrategy? Looking at the code, the child Processor instance is already created, so I'm not sure it would be