Re: unable to control ftp delay

2012-06-28 Thread Claus Ibsen
On Fri, Jun 29, 2012 at 12:32 AM, David Capwell wrote: > Playing with the delay fields defined in file2 seems to improve download > speeds.  Now that this is working better I want to be able to skip any file > that has already been processed (should persist on restart).  It looked to > me that I s

Re: Footprint of SEDA queues

2012-06-28 Thread Claus Ibsen
On Thu, Jun 28, 2012 at 6:26 PM, Edwin wrote: > Thanks for the responses Claus, Henryk > > I understand that each seda queue consumer will have its own thread pool. > However, my concern more relates to the footprint imposed on the JVM by > creating 1000+ SEDA Queues. > > Sounds like you echo my c

Question: Why are 2 connections created?

2012-06-28 Thread camel_user
Hi, I have a simple problem, but I can't figure out how to solve it. I have the following piece of code (as an example) where I am using Qpid AMQP broker and configuring 2 endpoints from 2 topics to route to the same end point. public class TestApp { public static void main(String[] args)

Re: Footprint of SEDA queues

2012-06-28 Thread Edwin
Thanks for the responses Claus, Henryk I understand that each seda queue consumer will have its own thread pool. However, my concern more relates to the footprint imposed on the JVM by creating 1000+ SEDA Queues. Sounds like you echo my concerns Henryk. Was wondering if there is any kind of metr

Re: unable to control ftp delay

2012-06-28 Thread David Capwell
Playing with the delay fields defined in file2 seems to improve download speeds. Now that this is working better I want to be able to skip any file that has already been processed (should persist on restart). It looked to me that I should be able to set this up by using the filter option, but I a

Calling an InOnly endpoint with an InOut exchange...

2012-06-28 Thread Henrique Viecili
Assuming the scenario I have 2 jbi endpoints: - 'jbi:myInOutEndpoint' with MEP=InOut; - 'jbi:myInOnlyEndpoint' with MEP=InOnly; and the following route in camel: (...) (...) I have experienced the exchange hanging, waiting for a response to continue after . And of course this is

Re: Using Camel in web-app without Spring

2012-06-28 Thread Bilgin Ibryam
Nothing special, we decided to use google-guice and I don't want to introduce Spring in order to use Camel. And as Spring is not mandatory dependency for Camel any longer, it should be easy w/o it. Bilgin > What are you trying to achieve by *NOT* using Spring? > > *Bruno Borges* > (21) 7672-7099

Re: How to achieve both xpath and aggregator

2012-06-28 Thread Deepthi
Hi Claus, I still get the same exception. Thanks, Deepthi -- View this message in context: http://camel.465427.n5.nabble.com/How-to-achieve-both-xpath-and-aggregator-tp5714691p5715229.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Spring DSL XPATH namespace query syntax with header.in key

2012-06-28 Thread Kuido
Hello I am generating routes dynamically http://e-arvetekeskus.eu/erp"; xmlns="http://camel.apache.org/schema/spring";> .. xpath expression: /erp:CompanyStatusResponse/erp:CompanyActive/text() gives error Invalid xpath: /erp:CompanyStatusResponse/erp:CompanyActive/text(). Reas

Re: unable to control ftp delay

2012-06-28 Thread David Capwell
I'll take a look at file2 to see if that helps. My goal is to push the data from FTP to s3. Copying locally so I know what has been processed, On Jun 28, 2012 12:48 AM, "Claus Ibsen" wrote: > Hi > > As mentioned on the ftp2 page > http://camel.apache.org/ftp2 > > See the file2 page for more opt

Re: Changing from file-consumer to ftp-consumer

2012-06-28 Thread stefzar
Thank you for your help it works now. If someone is interested in the solution, here it is: 1) I updated to Camel version 2.10-Snapshot (to use the consumer.bridgeErrorHandler=true option) 2) implemented my own PollingConsumerPollStrategy which forwards Exceptions to the Camel route: public class

Re: Can't route wsdl request into file

2012-06-28 Thread wolfram
Note for any lurker who may read this thread. Correct route is: I'm not sure that multicast is really required, but string conversion definitely is -- View this message in context: http://camel.465427.n5.nabble.com/Can-t-route-wsdl-request-into-file-tp5715201p5715222.html Sent from the Camel -

Re: [jetty/http component bug?] Soap exceptions are incorrectly processed by camel/cxf client

2012-06-28 Thread wolfram
It works, thank you very much :3 -- View this message in context: http://camel.465427.n5.nabble.com/jetty-http-component-bug-Soap-exceptions-are-incorrectly-processed-by-camel-cxf-client-tp5715217p5715219.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: [jetty/http component bug?] Soap exceptions are incorrectly processed by camel/cxf client

2012-06-28 Thread Claus Ibsen
Hi A good idea is to read the Camel component documents, and check the options in the tables etc. http://camel.apache.org/http See for example the option throwExceptionOnFailure On Thu, Jun 28, 2012 at 12:20 PM, wolfram wrote: > Hi. > > I've webservice with the following wsdl: > > > > So I've j

[jetty/http component bug?] Soap exceptions are incorrectly processed by camel/cxf client

2012-06-28 Thread wolfram
Hi. I've webservice with the following wsdl: So I've java code that throws NoSuchCustomerException. This webservice is published using Apache CXF and Apache Camel in the following way: There is also two clients configured in the following ways: Client 1 (plain sockets, netty): Client 2

Re: Can't route wsdl request into file

2012-06-28 Thread Claus Ibsen
On Thu, Jun 28, 2012 at 11:48 AM, wolfram wrote: > I've found the solution > > > > So, thanks for your hint. > > Also could you give me advice if such expressions with "simple" tag are fast > enough? > Yep as it get parsed once on starting the route, and at runtime its pure java code being evalua

Re: Can't route wsdl request into file

2012-06-28 Thread wolfram
I've found the solution So, thanks for your hint. Also could you give me advice if such expressions with "simple" tag are fast enough? -- View this message in context: http://camel.465427.n5.nabble.com/Can-t-route-wsdl-request-into-file-tp5715201p5715215.html Sent from the Camel - Users maili

Re: File language do not work in producer templates defaultEndpoint declaration

2012-06-28 Thread zzkozak
Hi all, it is working, if I declare the endpoing when sending the message: So, is this a bug, that File Language do not work inside a defaultEndpoint declaration? Cheers, Marcin -- View this message in context: http://camel.465427.n5.nabble.com/File-language-do-not-work-in-producer-templat

Re: Spring DSL XPATH namespace query syntax with header.in key

2012-06-28 Thread Claus Ibsen
Hi I assume you have read this page http://camel.apache.org/xpath You need to declare the namespace in your XML file with the Camel route. eg notice how the foo namespace is defined. And to get only get NO, you should use /text() to tell xpath to grab the text content  /erp:CompanyStatusResponse

Re: camel-exec: System Path is empty

2012-06-28 Thread mitko . kolev
Hi I just put this case in the documentation to avoid confusion in the future. Regards, Mitko From: Hilde To: users@camel.apache.org Date: 27.06.2012 13:47 Subject: Re: camel-exec: System Path is empty Hi Magnus! Thanks for this information, though it is not satisfying me. I supposed

Re: Camel Rest WebService with cxfrs is only accessible through localhost

2012-06-28 Thread Claus Ibsen
On Wed, Jun 27, 2012 at 8:46 PM, javakurious wrote: > I created and deployed a camel cxfrs webservice on Glassfish 3.1. > > Here is a snippet from camel-config.xml > >        serviceClass="com.personal.test.SampleRestService"/> > > >             >             > > > The application deploys fine

Re: Can't route wsdl request into file

2012-06-28 Thread Claus Ibsen
Hi I assume the wsdl is a HTTP GET, eg ?wsdl in the uri. If so then there is no message body (eg its null), and so when you want to write that as a file, then the file producer cannot do that as there is no message body to write. You can for example use a Filter EIP to detect whether there is a m

Re: unable to control ftp delay

2012-06-28 Thread Claus Ibsen
Hi As mentioned on the ftp2 page http://camel.apache.org/ftp2 See the file2 page for more options as the ftp component inherits these options http://camel.apache.org/file2.html The delay and consumer.delay option is the same. delay is just shorthand for consumer.delay. And no you cannot avoid t

Re: How to achieve both xpath and aggregator

2012-06-28 Thread Claus Ibsen
On Thu, Jun 28, 2012 at 12:39 AM, Deepthi wrote: > Hi Claus, > > I have changed it as suggested by you: > >     >     completionTimeout="5000"> >           >                /orders/order/@id >           >           >           >     > > > It says invalid correlation key for all the input