Re: doneFileName with dynamic filename

2014-03-13 Thread Jey350
Hi Claus, Thank you for your support. I indeed read the f..ollowing manual http://camel.apache.org/file2 http://camel.apache.org/file2 but it doesn't solve my problem. It would have worked well if my doneFile looked like ACK${file:name} but it's ACKXXX-${file:name} and ACKYYY-${file:name} in

Re: doneFileName with dynamic filename

2014-03-13 Thread Claus Ibsen
Hi You can use ${bean:xxx} in the syntax to call a bean that computes the done name. On Thu, Mar 13, 2014 at 9:16 AM, Jey350 jey...@hotmail.com wrote: Hi Claus, Thank you for your support. I indeed read the f..ollowing manual http://camel.apache.org/file2 http://camel.apache.org/file2

Re: Dependency mess with camel-restlet

2014-03-13 Thread Claus Ibsen
Hi Ad 2) I suggest to take your findings to the restlet community so they can clean their mess with the spring deps. Also maybe suggest them to make restlet work with servlet WITHOUT spring. Ad 1) Also at Apache we love contributions. So you are very welcome to help with the documentation etc.

Re: AWS + CAMEL + DynamoDB - Please Help

2014-03-13 Thread Willem Jiang
Hi, I just found something interesting, you add the tableName into the PutReqeuest, but you don’t specify tableName on the url. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang

Re: AWS + CAMEL + DynamoDB - Please Help

2014-03-13 Thread cdfleischmann
What do you mean? The route I was trying to use was: /*aws-ddb://SourceItems?amazonDDBClient=#ddbClientamazonDdbEndpoint=ap-southeast-2 + writeCapacity=10readCapacity=10*/, newSourceItem(sourceItem) You will see the table name straight after aws-ddb:// called SourceItems ??? I am not sure I

Re: camel-dropbox

2014-03-13 Thread hifly81
last commit added a features.xml -- camel-feature -- View this message in context: http://camel.465427.n5.nabble.com/camel-dropbox-tp5748012p5748745.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Dependency mess with camel-restlet

2014-03-13 Thread Knut-Håvard Aksnes
Ad documentation. I will try to write something. But need to do quite a lot of testing myself first, to be confident that the setup I describe will work. Ad restlet structure, it seems to be a mess. Personally I prefer CXF, but some of my colleagues like restlets. Our system starts to get fairly

Re: does camel-hdfs(2.12.3) component support latest hadoop 2.3.0

2014-03-13 Thread Pete Carapetyan
From my memory of a previous thread, Claus reported that hadoop 2 is not supported with the current hdfs component. On Mon, Mar 10, 2014 at 5:00 AM, liugang594 Liu clevers...@gmail.comwrote: Hi All: I'd like to know if camel-hdfs component supports latest hadoop 2.3.0? I saw the dependency

Re: does camel-hdfs(2.12.3) component support latest hadoop 2.3.0

2014-03-13 Thread Richard Kettelerij
There will be a new camel-hdfs2 component in Camel 2.13.0 (probably) which does support Hadoop 2. All the details are in the Jira you already referenced: https://issues.apache.org/jira/browse/CAMEL-7249 On Thu, Mar 13, 2014 at 11:34 AM, Pete Carapetyan pete.carapet...@gmail.com wrote: From my

Re: Detected end of multiple routes

2014-03-13 Thread Richard Kettelerij
Hi, What kind of transport are you using between route A and the other routes? I assume you're using an async transport (like JMS etc) otherwise you wouldn't have this problem since al routes would be executed sequentially (when using direct for example). Can you post your code? One solution

Re: diagnosing onException problem?

2014-03-13 Thread Richard Kettelerij
Are you using this code in a route that is part a transaction? Like a JMS transaction? On Fri, Mar 7, 2014 at 10:30 PM, Freeman, Keith kfree...@integ.com wrote: I have this code in my route: onException(Exception.class) .handled(true)

Re: Apache Karaf and camel-fop

2014-03-13 Thread Laurentiu Trica
Hello, I'm trying to use Camel FOP component in Servicemix 4.5.3. I manually installed Apache XMLGraphics bundle and Commons.io, but I get this error when deploying a route: 2014-03-13 14:21:36,564 | ERROR | ExtenderThread-6 | ContextLoaderListener | 82 -

SpringCamelContext / dependsOn/ afterPropertiesSet issue

2014-03-13 Thread Nowakowski, Mateusz
Hi Was it addressed somehow? http://camel.465427.n5.nabble.com/SpringCamelContext-afterPropertiesSet-never-called-td5137267.html I have the same issue with the latest camel. I had to apply same workaround as mentioned in the thread. -- Regards, Mateusz Nowakowski

Re: Detected end of multiple routes

2014-03-13 Thread iceman
Hi, You're right, we used ActiveMq as transport. My collega has done some test with onCompletion callback and this doesn't work for us because the routes can send the message to other routes multiple time... I can't give a code snippet cause it's a very big project calling Facebook to get a lot

Accessing an osgi service interface from another bundle

2014-03-13 Thread vs_mahesh
Hi , I have created 2 bundles 1)osgi service bundle *whose camel-context.xml i*s bean id=incidentService class=com.outotec.uom.mapping.MappingInterfaceImpl /bean osgi:service id=mappingservice interface=com.outotec.uom.mapping.MappingInterface ref=incidentService /

Re: doneFileName with dynamic filename

2014-03-13 Thread Jey350
Hi, It seems impossible in camel 2.10.1 to put a complex expression excluding ${file:} or ${date:}. I get the error : org.apache.camel.ExpressionIllegalSyntaxException: Illegal syntax: C:\myFile Cannot resolve reminder: ${bean:myBean?method=doSomething} Event a simplier expression like

Re: Accessing an osgi service interface from another bundle

2014-03-13 Thread Raul Kripalani
If Spring DM is able to resolve the OSGi reference correctly, 'mappingservice' becomes a local bean in the Spring Context of the second bundle. This means that you can inject it around like any other bean. For example: bean id=abcd class=com.ab.mypgm init-method=init destroy-method=destroy

Re: Accessing an osgi service interface from another bundle

2014-03-13 Thread Marco Westermann
Hi Mahesh, bundle 1 looks good so far. in your second bundle do the following: ad an instance variable to your bean which is of type of the interface like: class mypgm { private com.outotec.uom.mapping.MappingInterface mappingService = null; // here getter + setter for mappingService } then

Re: Accessing an osgi service interface from another bundle

2014-03-13 Thread vs_mahesh
Hi Raul, The package name com.outotec.uom.mapping.*, is not getting resolved in the second bundle. How can I make it accessible in the second bundle . Thanks - Thanks And regards, Mahesh -- View this message in context:

Re: Accessing an osgi service interface from another bundle

2014-03-13 Thread vs_mahesh
Hi Marco, The issue is that the package name is not getting resolved in the second bundle. ie when I try to import com.outotec.uom.mapping*;Its not getting resolved. What I need is that I need to call the function in com.outotec.uom.mapping.MappingInterface. So how can I make the interface

Re: doneFileName with dynamic filename

2014-03-13 Thread Claus Ibsen
Hi Ah yeah had a 2nd look, the doneFileName only supports // we only support ${file:name} or ${file:name.noext} as dynamic placeholders for done files On Thu, Mar 13, 2014 at 2:50 PM, Jey350 jey...@hotmail.com wrote: Hi, It seems impossible in camel 2.10.1 to put a complex

Re: doneFileName with dynamic filename

2014-03-13 Thread Jey350
Hi, Thank you for your fast anwers and the time you spent on my case. I'll probably stay with the readLockCheckInterval and ignore the done files. Rgds. -- View this message in context: http://camel.465427.n5.nabble.com/doneFileName-with-dynamic-filename-tp5748706p5748779.html Sent from

RE: camel-rabbitmq autoack=false

2014-03-13 Thread John H. Clark
Willem, I reverted the change below on a private copy of camel-rabbitmq in RabbitMQConsumer.class, and reverting that change fixed my problem, allowing me to NOT autoAck. Could you please consider reverting this fix in the code? Here is a link to the commit:

Is RAW() required in message endpoint URI with percent-endcoded special characters?

2014-03-13 Thread Phil Mocek
Must percent-encoded special characters in a Camel message endpoint URI be wrapped in RAW() in order for Camel to correctly process the URI? For example: I believe the following is a valid [Camel endpoint URI of schema aws-sqs][1]:

Help with SQL component please?

2014-03-13 Thread Matt Payne
Hi! I am trying to learn about the SQL component. I found an example[7], SqlRouteTest, and have tried to apply some debugging[5], and tracing[6] to it. Even with logging turned all the way up[8] I don't get tracing output. Using the debugger I see the route that starts with direct:simple

Re: Help with SQL component please?

2014-03-13 Thread Matt Payne
Sound have checked JIRA[1] before posting. Turns out the example[2] works fine with Derby instead of HSQL. Thanks! --Matt Payne [1] https://issues.apache.org/jira/browse/CAMEL-7251?jql=issuetype%20%3D%20Bug%20AND%20text%20~%20%22SqlProducer%22 [2]

Re: Http Client for Rest

2014-03-13 Thread imranrazakhan
hi, I fix issue by following change from http to http4, But couldnt understand why it work this way to(http://x.x.x.x:5001/rest/sms/messages;) to(http4://x.x.x.x:5001/rest/sms/messages) Regards -- View this message in context:

Re: Http Client for Rest

2014-03-13 Thread Willem Jiang
I guess you need to setup the authentication information of camel-http component as the document[1] said. [1]http://camel.apache.org/http.html -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter:

Re: Is RAW() required in message endpoint URI with percent-endcoded special characters?

2014-03-13 Thread Willem Jiang
RAW() should work in your case. You can also use the amazonSQSClient option to let camel lookup the configured client for you as a workaround. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter:

Re: AWS + CAMEL + DynamoDB - Please Help

2014-03-13 Thread Willem Jiang
OK, I think I just found out the key by checking the url. You may need to update ddbClient’s endpoint address before using the camel-aws-ddb. As amazonDdbEndpoint option didn’t work when you using amazonDDBlClient option, I just fixed this issue[1] few days ago.

Re: Is RAW() required in message endpoint URI with percent-endcoded special characters?

2014-03-13 Thread Phil Mocek
Willem Jiang wrote: RAW() should work in your case. Thanks, but that's not what I'm asking. I can find out of it works by trying. I want to what is expected to work---how Camel is supposed to work. I don't want to write software based on buggy behavior unless I'm aware of the bug and what I'm