[jira] [Commented] (CAMEL-7378) camel-mongodb: Investigate returning DBCursor to enable streaming of large result sets
[ https://issues.apache.org/jira/browse/CAMEL-7378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14509571#comment-14509571 ] Pierre-Alban DEWITTE commented on CAMEL-7378: - Wiki is just update. camel-mongodb: Investigate returning DBCursor to enable streaming of large result sets -- Key: CAMEL-7378 URL: https://issues.apache.org/jira/browse/CAMEL-7378 Project: Camel Issue Type: New Feature Components: camel-mongodb Affects Versions: 2.13.0 Reporter: Raúl Kripalani Assignee: Raúl Kripalani Fix For: 2.16.0 See http://camel.465427.n5.nabble.com/Does-Camel-MongoDB-use-cursors-on-findAll-td5750352.html for context. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (CAMEL-7378) camel-mongodb: Investigate returning DBCursor to enable streaming of large result sets
[ https://issues.apache.org/jira/browse/CAMEL-7378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14371103#comment-14371103 ] Pierre-Alban DEWITTE commented on CAMEL-7378: - Hi, Maybe we could use a parameter outputType like the JDBC component ? Best regards camel-mongodb: Investigate returning DBCursor to enable streaming of large result sets -- Key: CAMEL-7378 URL: https://issues.apache.org/jira/browse/CAMEL-7378 Project: Camel Issue Type: New Feature Components: camel-mongodb Affects Versions: 2.13.0 Reporter: Raúl Kripalani Assignee: Raúl Kripalani See http://camel.465427.n5.nabble.com/Does-Camel-MongoDB-use-cursors-on-findAll-td5750352.html for context. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (CAMEL-7378) camel-mongodb: Investigate returning DBCursor to enable streaming of large result sets
[ https://issues.apache.org/jira/browse/CAMEL-7378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14371056#comment-14371056 ] Pierre-Alban DEWITTE commented on CAMEL-7378: - Hi Raúl, Are you working on this ? If not i will try to make a PR as i am struggling with this limitation too. Pierre-Alban camel-mongodb: Investigate returning DBCursor to enable streaming of large result sets -- Key: CAMEL-7378 URL: https://issues.apache.org/jira/browse/CAMEL-7378 Project: Camel Issue Type: New Feature Components: camel-mongodb Affects Versions: 2.13.0 Reporter: Raúl Kripalani Assignee: Raúl Kripalani See http://camel.465427.n5.nabble.com/Does-Camel-MongoDB-use-cursors-on-findAll-td5750352.html for context. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (CAMEL-8101) Add runCommand to MongoDB Camel component operations list
[ https://issues.apache.org/jira/browse/CAMEL-8101?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14311501#comment-14311501 ] Pierre-Alban DEWITTE commented on CAMEL-8101: - Just did it. Thanks to remind me doing it. Could you review it as it is the first time i edit the wiki ? Add runCommand to MongoDB Camel component operations list - Key: CAMEL-8101 URL: https://issues.apache.org/jira/browse/CAMEL-8101 Project: Camel Issue Type: Improvement Components: camel-mongodb Reporter: Pierre-Alban DEWITTE Assignee: Willem Jiang Priority: Minor Fix For: 2.15.0 Add runCommand to MongoDB Camel component operations list Javadoc of MongoDB driver is there https://api.mongodb.org/java/2.12/com/mongodb/DB.html#command(com.mongodb.DBObject) I should update wiki right after the PR is merge. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (CAMEL-8101) Add runCommand to MongoDB Camel component operations list
[ https://issues.apache.org/jira/browse/CAMEL-8101?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14232942#comment-14232942 ] Pierre-Alban DEWITTE commented on CAMEL-8101: - Yes Totaly agree. I also want to add a aggregate example. I just sign the comiter agreement yesterday. Will update wiki soon. Best regards Add runCommand to MongoDB Camel component operations list - Key: CAMEL-8101 URL: https://issues.apache.org/jira/browse/CAMEL-8101 Project: Camel Issue Type: Improvement Components: camel-mongodb Reporter: Pierre-Alban DEWITTE Assignee: Willem Jiang Priority: Minor Fix For: 2.15.0 Add runCommand to MongoDB Camel component operations list Javadoc of MongoDB driver is there https://api.mongodb.org/java/2.12/com/mongodb/DB.html#command(com.mongodb.DBObject) I should update wiki right after the PR is merge. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (CAMEL-8100) Collection should be optional for getDbStats
Pierre-Alban DEWITTE created CAMEL-8100: --- Summary: Collection should be optional for getDbStats Key: CAMEL-8100 URL: https://issues.apache.org/jira/browse/CAMEL-8100 Project: Camel Issue Type: Bug Components: camel-mongodb Affects Versions: 2.14.0, 2.13.2, 2.13.0 Reporter: Pierre-Alban DEWITTE Priority: Trivial Collection should be optional for getDbStats on route description -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (CAMEL-8101) Add runCommand to MongoDB Camel component operations list
Pierre-Alban DEWITTE created CAMEL-8101: --- Summary: Add runCommand to MongoDB Camel component operations list Key: CAMEL-8101 URL: https://issues.apache.org/jira/browse/CAMEL-8101 Project: Camel Issue Type: Improvement Components: camel-mongodb Reporter: Pierre-Alban DEWITTE Priority: Minor Add runCommand to MongoDB Camel component operations list Javadoc of MongoDB driver is there https://api.mongodb.org/java/2.12/com/mongodb/DB.html#command(com.mongodb.DBObject) -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Issue Comment Deleted] (CAMEL-8101) Add runCommand to MongoDB Camel component operations list
[ https://issues.apache.org/jira/browse/CAMEL-8101?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pierre-Alban DEWITTE updated CAMEL-8101: Comment: was deleted (was: Github pullrequest #346 is improving MongoDB component on 2.15-SNAPSHOT) Add runCommand to MongoDB Camel component operations list - Key: CAMEL-8101 URL: https://issues.apache.org/jira/browse/CAMEL-8101 Project: Camel Issue Type: Improvement Components: camel-mongodb Reporter: Pierre-Alban DEWITTE Priority: Minor Add runCommand to MongoDB Camel component operations list Javadoc of MongoDB driver is there https://api.mongodb.org/java/2.12/com/mongodb/DB.html#command(com.mongodb.DBObject) -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (CAMEL-8101) Add runCommand to MongoDB Camel component operations list
[ https://issues.apache.org/jira/browse/CAMEL-8101?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14230408#comment-14230408 ] Pierre-Alban DEWITTE commented on CAMEL-8101: - Github pullrequest #346 is improving MongoDB component on 2.15-SNAPSHOT Add runCommand to MongoDB Camel component operations list - Key: CAMEL-8101 URL: https://issues.apache.org/jira/browse/CAMEL-8101 Project: Camel Issue Type: Improvement Components: camel-mongodb Reporter: Pierre-Alban DEWITTE Priority: Minor Add runCommand to MongoDB Camel component operations list Javadoc of MongoDB driver is there https://api.mongodb.org/java/2.12/com/mongodb/DB.html#command(com.mongodb.DBObject) -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (CAMEL-8100) Collection should be optional for getDbStats
[ https://issues.apache.org/jira/browse/CAMEL-8100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14230416#comment-14230416 ] Pierre-Alban DEWITTE commented on CAMEL-8100: - Github pullrequest #346 is fixing MongoDB component on 2.15-SNAPSHOT Collection should be optional for getDbStats Key: CAMEL-8100 URL: https://issues.apache.org/jira/browse/CAMEL-8100 Project: Camel Issue Type: Bug Components: camel-mongodb Affects Versions: 2.13.0, 2.13.2, 2.14.0 Reporter: Pierre-Alban DEWITTE Priority: Trivial Labels: easyfix Original Estimate: 1h Remaining Estimate: 1h Collection should be optional for getDbStats on route description -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (CAMEL-8101) Add runCommand to MongoDB Camel component operations list
[ https://issues.apache.org/jira/browse/CAMEL-8101?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pierre-Alban DEWITTE updated CAMEL-8101: Description: Add runCommand to MongoDB Camel component operations list Javadoc of MongoDB driver is there https://api.mongodb.org/java/2.12/com/mongodb/DB.html#command(com.mongodb.DBObject) I should update wiki right after the PR is merge. was: Add runCommand to MongoDB Camel component operations list Javadoc of MongoDB driver is there https://api.mongodb.org/java/2.12/com/mongodb/DB.html#command(com.mongodb.DBObject) Add runCommand to MongoDB Camel component operations list - Key: CAMEL-8101 URL: https://issues.apache.org/jira/browse/CAMEL-8101 Project: Camel Issue Type: Improvement Components: camel-mongodb Reporter: Pierre-Alban DEWITTE Priority: Minor Add runCommand to MongoDB Camel component operations list Javadoc of MongoDB driver is there https://api.mongodb.org/java/2.12/com/mongodb/DB.html#command(com.mongodb.DBObject) I should update wiki right after the PR is merge. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Closed] (CAMEL-7952) Camel REST does not handle same path with differents VERBS
[ https://issues.apache.org/jira/browse/CAMEL-7952?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pierre-Alban DEWITTE closed CAMEL-7952. --- Thanks, it is working like a charm now. Camel REST does not handle same path with differents VERBS -- Key: CAMEL-7952 URL: https://issues.apache.org/jira/browse/CAMEL-7952 Project: Camel Issue Type: Bug Components: camel-core Affects Versions: 2.14.0 Environment: ALL Reporter: Pierre-Alban DEWITTE Assignee: Willem Jiang Fix For: 2.14.1, 2.15.0 If we had the same path with different verbs (GET, POST, DELETE) only one is randomly choosen. To reproduce this issue i just changed the route builder in camel-example-servlet-rest-tomcat. In UserRouteBuilder.java change the last statement of configure() method with : rest(/user).description(User rest service) .consumes(application/json).produces(application/json) .get(/name).description(GET).outTypeList(User.class) .to(bean:userService?method=listUsers) .post(/name).description(POST).to(bean:userService?method=listUsers) .delete(/{name}).description(DELETE).to(bean:userService?method=listUsers) ; After a quick debug it seams that the CamelServlet is fiiling a map of HttpConsumer. The key is path so only last one can be used further. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (CAMEL-7952) Camel REST does not handle same path with differents VERBS
Pierre-Alban DEWITTE created CAMEL-7952: --- Summary: Camel REST does not handle same path with differents VERBS Key: CAMEL-7952 URL: https://issues.apache.org/jira/browse/CAMEL-7952 Project: Camel Issue Type: Bug Components: camel-core Affects Versions: 2.14.0 Environment: ALL Reporter: Pierre-Alban DEWITTE If we had the same path with different verbs (GET, POST, DELETE) only one is randomly choosen. To reproduce this issue i just changed the route builder in camel-example-servlet-rest-tomcat. In UserRouteBuilder.java change the last statement of configure() method with : rest(/user).description(User rest service) .consumes(application/json).produces(application/json) .get(/name).description(GET).outTypeList(User.class) .to(bean:userService?method=listUsers) .post(/name).description(POST).to(bean:userService?method=listUsers) .delete(/{name}).description(DELETE).to(bean:userService?method=listUsers) ; After a quick debug it seams that the CamelServlet is fiiling a map of HttpConsumer. The key is path so only last one can be used further. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Resolved] (CAMEL-6507) Add aggregat ability to camel_mongodb
[ https://issues.apache.org/jira/browse/CAMEL-6507?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pierre-Alban DEWITTE resolved CAMEL-6507. - Resolution: Fixed Add aggregat ability to camel_mongodb - Key: CAMEL-6507 URL: https://issues.apache.org/jira/browse/CAMEL-6507 Project: Camel Issue Type: New Feature Components: camel-mongodb Affects Versions: 2.11.0 Reporter: Pierre-Alban DEWITTE Assignee: Willem Jiang Labels: patch Hi, I just add the ability to use aggregat in camel-mongo-db route. Now you can declare a route to aggregate : from(...).to(mongodb:myDb?database=testcollection=testoperation=aggregatdynamicity=true); The body should contain a valid Mongo pipeline for example { $match : {name : my product}},{ $group: { _id: $name ,total: { $sum: $price } } } P-Alban PS : I just create a pull request on github -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Closed] (CAMEL-6507) Add aggregat ability to camel_mongodb
[ https://issues.apache.org/jira/browse/CAMEL-6507?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pierre-Alban DEWITTE closed CAMEL-6507. --- Resolution: Fixed Add aggregat ability to camel_mongodb - Key: CAMEL-6507 URL: https://issues.apache.org/jira/browse/CAMEL-6507 Project: Camel Issue Type: New Feature Components: camel-mongodb Affects Versions: 2.11.0 Reporter: Pierre-Alban DEWITTE Assignee: Willem Jiang Labels: patch Hi, I just add the ability to use aggregat in camel-mongo-db route. Now you can declare a route to aggregate : from(...).to(mongodb:myDb?database=testcollection=testoperation=aggregatdynamicity=true); The body should contain a valid Mongo pipeline for example { $match : {name : my product}},{ $group: { _id: $name ,total: { $sum: $price } } } P-Alban PS : I just create a pull request on github -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CAMEL-6507) Add aggregat ability to camel_mongodb
[ https://issues.apache.org/jira/browse/CAMEL-6507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13700313#comment-13700313 ] Pierre-Alban DEWITTE commented on CAMEL-6507: - Hi, I just push the correction of typo in pull request #27 I did not find dcumentation. Where should i add this new operation ? Best regards Add aggregat ability to camel_mongodb - Key: CAMEL-6507 URL: https://issues.apache.org/jira/browse/CAMEL-6507 Project: Camel Issue Type: New Feature Components: camel-mongodb Affects Versions: 2.11.0 Reporter: Pierre-Alban DEWITTE Assignee: Willem Jiang Labels: patch Hi, I just add the ability to use aggregat in camel-mongo-db route. Now you can declare a route to aggregate : from(...).to(mongodb:myDb?database=testcollection=testoperation=aggregatdynamicity=true); The body should contain a valid Mongo pipeline for example { $match : {name : my product}},{ $group: { _id: $name ,total: { $sum: $price } } } P-Alban PS : I just create a pull request on github -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CAMEL-6507) Add aggregat ability to camel_mongodb
Pierre-Alban DEWITTE created CAMEL-6507: --- Summary: Add aggregat ability to camel_mongodb Key: CAMEL-6507 URL: https://issues.apache.org/jira/browse/CAMEL-6507 Project: Camel Issue Type: New Feature Components: camel-mongodb Affects Versions: 2.11.0 Reporter: Pierre-Alban DEWITTE Hi, I just add the ability to use aggregat in camel-mongo-db route. Now you can declare a route to aggregate : from(...).to(mongodb:myDb?database=testcollection=testoperation=aggregatdynamicity=true); The body should contain a valid Mongo pipeline for example { $match : {name : my product}},{ $group: { _id: $name ,total: { $sum: $price } } } P-Alban PS : I just create a pull request on github -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CAMEL-6198) CsvConfig.setDelimiter(Char char) has no effect
Pierre-Alban DEWITTE created CAMEL-6198: --- Summary: CsvConfig.setDelimiter(Char char) has no effect Key: CAMEL-6198 URL: https://issues.apache.org/jira/browse/CAMEL-6198 Project: Camel Issue Type: Bug Components: camel-core Affects Versions: 2.10.4 Environment: Linux Reporter: Pierre-Alban DEWITTE Priority: Trivial With code abode csvConfig.setDelimiter(';') has no effect CsvDataFormat csv = new CsvDataFormat(); CSVConfig csvConfig = new CSVConfig(); csvConfig.setDelimiter(';'); csvConfig.setFieldHeader(true); from(file://in/?include=.*\\.csv).unmarshal(csv).process(new MyProcessor()); When i add csv.setDelimiter(;); everything works fine. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CAMEL-6198) CsvConfig.setDelimiter(Char char) has no effect
[ https://issues.apache.org/jira/browse/CAMEL-6198?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13609537#comment-13609537 ] Pierre-Alban DEWITTE commented on CAMEL-6198: - OK that's sound good for me. I just lost a couple of minutes on it and i wanted to share :) CsvConfig.setDelimiter(Char char) has no effect --- Key: CAMEL-6198 URL: https://issues.apache.org/jira/browse/CAMEL-6198 Project: Camel Issue Type: Bug Components: camel-core Affects Versions: 2.10.4 Environment: Linux Reporter: Pierre-Alban DEWITTE Priority: Trivial With code abode csvConfig.setDelimiter(';') has no effect CsvDataFormat csv = new CsvDataFormat(); CSVConfig csvConfig = new CSVConfig(); csvConfig.setDelimiter(';'); csvConfig.setFieldHeader(true); from(file://in/?include=.*\\.csv).unmarshal(csv).process(new MyProcessor()); When i add csv.setDelimiter(;); everything works fine. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira