Camel-in-Action : CXF Contract First

2014-06-24 Thread dmeeetreee
We're in the process of re-platforming part of our integration capability to FuseSource with Apache Camel. Just going over some of our existing web services I had a look on the Camel-in-Action sample code with CXF, and got a bit stuck on the example. What I see is that 'mvn test' runs fine with n

Camel-hbase : scan operation

2014-06-24 Thread A577127
Hello everybody, I'm new to camel. I'm using the camel-hbase component and would like to perform a scan operation and get multiple rows with the producer. However I didn't find a way to do that with camel-hbase. If I create a route this way : I don't get

sftp excluding filename with date

2014-06-24 Thread Benito
Hello, I try to download some files with names like this: _MMDD(with MMDD the name of the day) from(uriSFTP.concat("&exclude=${date:now:MMdd}")) .to(local); But I don't want to donwload today's file. I can't use ${date:now:MMdd} with exclude. How to do? -- Vie

Re: sftp excluding filename with date

2014-06-24 Thread Claus Ibsen
Hi See the filter option and write a java bean that returns true|false if the file should be downloaded or not. http://camel.apache.org/file2 On Tue, Jun 24, 2014 at 11:07 AM, Benito wrote: > Hello, > > I try to download some files with names like this: > _MMDD(with MMDD

Jms Client_Acknowledgement Forced failure options

2014-06-24 Thread Mandalorian007
I am writting what would be the equivalent of an error queue retry ultility for a camel application that moves messages between different jms queues. I am looking for it to contain several features: 1) Only process messages that are older than when the route was created so messages that are sent

Re: Camel file pick up conditionally

2014-06-24 Thread sakchakravarthi
Is it possible to pick a file conditionally. To pick a file from dir I need to check status in DB. If status is ready then only file should be picked up. Is this kind of scenario possible. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-file-pick-up-conditionally-tp5752

Re: camel mail: content-transfer-encoding configurable

2014-06-24 Thread cgiera
Hi, ok, just for clarification what would be a good solution for this: I've not mentioned that we need the content-transfer-encoding for the attachments of the mail. Some ideas from my side: 1. use a parameter like contentType, let's say content-transfer-encoding: If this parameter is set ALL att

Re: Camel file pick up conditionally

2014-06-24 Thread Claus Ibsen
Hi Yes you can do that. You can for example implement a custom filter, where you return true if the DB check is okay, or false if not. See the filter option at http://camel.apache.org/file2 On Tue, Jun 24, 2014 at 2:09 PM, sakchakravarthi wrote: > Is it possible to pick a file conditionally.

Re: camel mail: content-transfer-encoding configurable

2014-06-24 Thread cgiera
Maybe something similar to the ContentTypeResolver is also a good solution -- View this message in context: http://camel.465427.n5.nabble.com/camel-mail-content-transfer-encoding-configurable-tp5752504p5752744.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel-hbase : scan operation

2014-06-24 Thread A577127
Ok, I found the answer to my question. For people that might be asking the same, if there are multiple results, the header of the output message will contain all of them in its header with number suffixes (like CamelHBaseValue, CamelHBaseValue2, CamelHBaseValue3...). -- View this message in con

camel-solr, SSL, and SolrCloud

2014-06-24 Thread Scott Stults
Hello Camel Users! My company has been doing a lot with the camel-solr component and we recently added SSL and SolrCloud support. We'd like to submit this back to Camel, so my question is whether we should make this a patch of camel-solr or create a completely separate component (maybe camel-solrs

Re: camel-solr, SSL, and SolrCloud

2014-06-24 Thread Claus Ibsen
Hi Can it be in the existing camel-solr component? On Tue, Jun 24, 2014 at 4:55 PM, Scott Stults wrote: > Hello Camel Users! > > My company has been doing a lot with the camel-solr component and we > recently added SSL and SolrCloud support. We'd like to submit this back to > Camel, so my questi

Re: camel-solr, SSL, and SolrCloud

2014-06-24 Thread Scott Stults
Sure can! In fact that'd be the easiest. I'll make sure it's go and send a pull request. Is there something I should do with Jira as well? -Scott On Tue, Jun 24, 2014 at 11:09 AM, Claus Ibsen wrote: > Hi > > Can it be in the existing camel-solr component? > > On Tue, Jun 24, 2014 at 4:55 PM, S

Re: camel-solr, SSL, and SolrCloud

2014-06-24 Thread Claus Ibsen
Hi Yeah log a JIRA about this enhancement, and then do a PR. Some info about contributing in general here http://camel.apache.org/contributing.html On Tue, Jun 24, 2014 at 5:46 PM, Scott Stults wrote: > Sure can! In fact that'd be the easiest. I'll make sure it's go and send a > pull request. I

camel-cxf with rpc/literal style wsdl?

2014-06-24 Thread Aki Yoshida
I am having the following problem and I am not sure if this is a known limitation. I have a rpc/literal styled wsdl that works fine with standalone CXF and would like to use this wsdl in my Camel scenario. In my Camel scenario, I set up a camel-cxf producer endpoint using a rpc/literal styled wsd

packagescan is not working in Java Webapp web.xml

2014-06-24 Thread sandeepreddip
I'm trying to register Camel Routes (written in Java DSL) in a package through web.xml. The routes were not registered when I used the package scanning (e.g.1 below). As a side note, the route registered fine when I added it at the class level in web.xml (see e.g.2 below). Camel version used:

Potential bug in sFTP (jSCH)?

2014-06-24 Thread deepak_a
Hi, I am using Camel 2.12.0. I have a route that establishes a sFTP connection. I have set the route so that it will attempt to re-connect every 15 minutes and then disconnect. This is set up because the sFTP service provider has explicitly requested not to keep connection open and poll at regular

Re: seda not blocking when full

2014-06-24 Thread swwyatt
If I use the send API, and I'm assuming this is a producer template send method, how do I determine when the exchange has completed the seda route from the thread that calls send? -- View this message in context: http://camel.465427.n5.nabble.com/seda-not-blocking-when-full-tp5752712p5752765.ht

Failed to register topic

2014-06-24 Thread Jeff Bischoff
Hello, Has anyone seen the following error before, while working with JMS topics in Camel? I am using Camel to talk between a single JMS (AMQ) broker and a network of brokers. I have searched for answers, but apparently no one has encountered "Failed to register topic" before. Any help is ap

Re: Potential bug in sFTP (jSCH)?

2014-06-24 Thread Christian Müller
Could you try Camel 2.13.2? Best, Christian Am 24.06.2014 20:09 schrieb "deepak_a" : > Hi, > > I am using Camel 2.12.0. > I have a route that establishes a sFTP connection. > I have set the route so that it will attempt to re-connect every 15 minutes > and then disconnect. > This is set up becaus