[jira] [Commented] (CAMEL-21082) camel-jbang init command is deleting existing routes/files when using --dir option
[ https://issues.apache.org/jira/browse/CAMEL-21082?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17874139#comment-17874139 ] Claus Ibsen commented on CAMEL-21082: - The --dir is for creating a new empty folder. If you want to create a new route in some existing place then do NOT use --dir but specify the name using folders. > camel-jbang init command is deleting existing routes/files when using --dir > option > -- > > Key: CAMEL-21082 > URL: https://issues.apache.org/jira/browse/CAMEL-21082 > Project: Camel > Issue Type: Bug > Components: camel-jbang >Affects Versions: 4.7.0 >Reporter: Aurélien Pupier >Assignee: Aurélien Pupier >Priority: Major > > {noformat} > jbang '-Dcamel.jbang.version=4.7.0' camel@apache/camel init > firstone.camel.yaml --dir=target-folder > {noformat} > the firstone.camel.yaml file is created > {noformat} > jbang '-Dcamel.jbang.version=4.7.0' camel@apache/camel init > secondone.camel.yaml --dir=target-folder > {noformat} > the firstone.camel.yaml file is deleted (without warning) and > secondone.camel.yaml is created -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (CAMEL-21082) camel-jbang init command is deleting existing routes/files when using --dir option
[ https://issues.apache.org/jira/browse/CAMEL-21082?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17874146#comment-17874146 ] Claus Ibsen commented on CAMEL-21082: - We could add an option `--cleanDir=true` that you can set to false if you do not want to clean the dir beforehand, so call via --cleanDir=false > camel-jbang init command is deleting existing routes/files when using --dir > option > -- > > Key: CAMEL-21082 > URL: https://issues.apache.org/jira/browse/CAMEL-21082 > Project: Camel > Issue Type: Bug > Components: camel-jbang >Affects Versions: 4.7.0 >Reporter: Aurélien Pupier >Assignee: Aurélien Pupier >Priority: Major > > {noformat} > jbang '-Dcamel.jbang.version=4.7.0' camel@apache/camel init > firstone.camel.yaml --dir=target-folder > {noformat} > the firstone.camel.yaml file is created > {noformat} > jbang '-Dcamel.jbang.version=4.7.0' camel@apache/camel init > secondone.camel.yaml --dir=target-folder > {noformat} > the firstone.camel.yaml file is deleted (without warning) and > secondone.camel.yaml is created -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Comment Edited] (CAMEL-21082) camel-jbang init command is deleting existing routes/files when using --dir option
[ https://issues.apache.org/jira/browse/CAMEL-21082?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17874146#comment-17874146 ] Claus Ibsen edited comment on CAMEL-21082 at 8/16/24 8:32 AM: -- We could add an option `--cleanDir=true|false` that you can use to control whether to clean the dir first. We can then change the default to false, so the dir is not cleaned. However the original intention was that you can quickly start a fresh prototype in some junk folder you may use all the time camel init foo.yaml --dir=myjunk We use this many times when users on Camel report this or that does not work, and we want to quickly get something up to reproduce what they do. was (Author: davsclaus): We could add an option `--cleanDir=true` that you can set to false if you do not want to clean the dir beforehand, so call via --cleanDir=false > camel-jbang init command is deleting existing routes/files when using --dir > option > -- > > Key: CAMEL-21082 > URL: https://issues.apache.org/jira/browse/CAMEL-21082 > Project: Camel > Issue Type: Bug > Components: camel-jbang >Affects Versions: 4.7.0 >Reporter: Aurélien Pupier >Assignee: Aurélien Pupier >Priority: Major > > {noformat} > jbang '-Dcamel.jbang.version=4.7.0' camel@apache/camel init > firstone.camel.yaml --dir=target-folder > {noformat} > the firstone.camel.yaml file is created > {noformat} > jbang '-Dcamel.jbang.version=4.7.0' camel@apache/camel init > secondone.camel.yaml --dir=target-folder > {noformat} > the firstone.camel.yaml file is deleted (without warning) and > secondone.camel.yaml is created -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Created] (CAMEL-21091) camel-azure-servicebus: Consumer throws exception where receive mode is RECEIVE_AND_DELETE
Dylan Piergies created CAMEL-21091: -- Summary: camel-azure-servicebus: Consumer throws exception where receive mode is RECEIVE_AND_DELETE Key: CAMEL-21091 URL: https://issues.apache.org/jira/browse/CAMEL-21091 Project: Camel Issue Type: Bug Components: camel-azure Affects Versions: 3.x, 4.x Reporter: Dylan Piergies The Azure Service Bus consumer makes a call to complete messages even when the receive mode is RECEIVE_AND_DELETE. Messages do not require acknowledgement in this receive mode and the Service Bus client throws an exception when attempting to complete messages: {{java.lang.UnsupportedOperationException: 'COMPLETED' is not supported on a receiver opened in ReceiveMode.RECEIVE_AND_DELETE.}} -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Resolved] (CAMEL-20569) camel-catalog - Can we markup what functions and operations languages have for tooling assistance
[ https://issues.apache.org/jira/browse/CAMEL-20569?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Ibsen resolved CAMEL-20569. - Resolution: Fixed okay simple/file languages have been marked up. > camel-catalog - Can we markup what functions and operations languages have > for tooling assistance > - > > Key: CAMEL-20569 > URL: https://issues.apache.org/jira/browse/CAMEL-20569 > Project: Camel > Issue Type: Improvement > Components: camel-catalog >Reporter: Claus Ibsen >Assignee: Claus Ibsen >Priority: Major > Fix For: 4.8.0 > > > Tooling would benefit if we can markup which functions you have in > - simple > - java-joor > - xpath > - and some others > In particular simple and java-joor would benefit -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Created] (CAMEL-21092) Xml route generated by Camel Jbang does not respect the xsd used
Aurélien Pupier created CAMEL-21092: --- Summary: Xml route generated by Camel Jbang does not respect the xsd used Key: CAMEL-21092 URL: https://issues.apache.org/jira/browse/CAMEL-21092 Project: Camel Issue Type: Bug Components: camel-jbang Affects Versions: 4.7.0 Reporter: Aurélien Pupier when using Camel JBang init to genrate an xml file, it genrates: {noformat} http://camel.apache.org/schema/spring"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation=" http://camel.apache.org/schema/spring https://camel.apache.org/schema/spring/camel-spring.xsd";> Hello Camel from ${routeId} {noformat} which is giving this xsd validation: {noformat} Cvc-elt.1.a: Cannot Find The Declaration Of Element 'camel'., Line '2', Column '199'. {noformat} -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (CAMEL-21092) Xml route generated by Camel Jbang does not respect the xsd used
[ https://issues.apache.org/jira/browse/CAMEL-21092?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17874248#comment-17874248 ] Aurélien Pupier commented on CAMEL-21092: - replacing _camel_ tag by _routes_ is respecting the xsd and is working at runtime. > Xml route generated by Camel Jbang does not respect the xsd used > > > Key: CAMEL-21092 > URL: https://issues.apache.org/jira/browse/CAMEL-21092 > Project: Camel > Issue Type: Bug > Components: camel-jbang >Affects Versions: 4.7.0 >Reporter: Aurélien Pupier >Priority: Major > > when using Camel JBang init to genrate an xml file, it genrates: > {noformat} > > http://camel.apache.org/schema/spring"; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; > xsi:schemaLocation=" http://camel.apache.org/schema/spring > https://camel.apache.org/schema/spring/camel-spring.xsd";> > > > > Hello Camel from ${routeId} > > > > > {noformat} > which is giving this xsd validation: > {noformat} > Cvc-elt.1.a: Cannot Find The Declaration Of Element 'camel'., Line '2', > Column '199'. > {noformat} -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Work started] (CAMEL-21092) Xml route generated by Camel Jbang does not respect the xsd used
[ https://issues.apache.org/jira/browse/CAMEL-21092?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on CAMEL-21092 started by Aurélien Pupier. --- > Xml route generated by Camel Jbang does not respect the xsd used > > > Key: CAMEL-21092 > URL: https://issues.apache.org/jira/browse/CAMEL-21092 > Project: Camel > Issue Type: Bug > Components: camel-jbang >Affects Versions: 4.7.0 >Reporter: Aurélien Pupier >Assignee: Aurélien Pupier >Priority: Major > > when using Camel JBang init to genrate an xml file, it genrates: > {noformat} > > http://camel.apache.org/schema/spring"; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; > xsi:schemaLocation=" http://camel.apache.org/schema/spring > https://camel.apache.org/schema/spring/camel-spring.xsd";> > > > > Hello Camel from ${routeId} > > > > > {noformat} > which is giving this xsd validation: > {noformat} > Cvc-elt.1.a: Cannot Find The Declaration Of Element 'camel'., Line '2', > Column '199'. > {noformat} -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Assigned] (CAMEL-21092) Xml route generated by Camel Jbang does not respect the xsd used
[ https://issues.apache.org/jira/browse/CAMEL-21092?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aurélien Pupier reassigned CAMEL-21092: --- Assignee: Aurélien Pupier > Xml route generated by Camel Jbang does not respect the xsd used > > > Key: CAMEL-21092 > URL: https://issues.apache.org/jira/browse/CAMEL-21092 > Project: Camel > Issue Type: Bug > Components: camel-jbang >Affects Versions: 4.7.0 >Reporter: Aurélien Pupier >Assignee: Aurélien Pupier >Priority: Major > > when using Camel JBang init to genrate an xml file, it genrates: > {noformat} > > http://camel.apache.org/schema/spring"; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; > xsi:schemaLocation=" http://camel.apache.org/schema/spring > https://camel.apache.org/schema/spring/camel-spring.xsd";> > > > > Hello Camel from ${routeId} > > > > > {noformat} > which is giving this xsd validation: > {noformat} > Cvc-elt.1.a: Cannot Find The Declaration Of Element 'camel'., Line '2', > Column '199'. > {noformat} -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (CAMEL-21092) Xml route generated by Camel Jbang does not respect the xsd used
[ https://issues.apache.org/jira/browse/CAMEL-21092?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17874250#comment-17874250 ] Aurélien Pupier commented on CAMEL-21092: - example is also using routes https://github.com/apache/camel-examples/blob/a3324456d2b20fa69c917dec1fb49dfca14c6904/main-xml/src/main/resources/routes/my-route.xml#L20 > Xml route generated by Camel Jbang does not respect the xsd used > > > Key: CAMEL-21092 > URL: https://issues.apache.org/jira/browse/CAMEL-21092 > Project: Camel > Issue Type: Bug > Components: camel-jbang >Affects Versions: 4.7.0 >Reporter: Aurélien Pupier >Assignee: Aurélien Pupier >Priority: Major > > when using Camel JBang init to genrate an xml file, it genrates: > {noformat} > > http://camel.apache.org/schema/spring"; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; > xsi:schemaLocation=" http://camel.apache.org/schema/spring > https://camel.apache.org/schema/spring/camel-spring.xsd";> > > > > Hello Camel from ${routeId} > > > > > {noformat} > which is giving this xsd validation: > {noformat} > Cvc-elt.1.a: Cannot Find The Declaration Of Element 'camel'., Line '2', > Column '199'. > {noformat} -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Comment Edited] (CAMEL-21092) Xml route generated by Camel Jbang does not respect the xsd used
[ https://issues.apache.org/jira/browse/CAMEL-21092?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17874250#comment-17874250 ] Aurélien Pupier edited comment on CAMEL-21092 at 8/16/24 1:13 PM: -- example is also using routes https://github.com/apache/camel-examples/blob/a3324456d2b20fa69c917dec1fb49dfca14c6904/main-xml/src/main/resources/routes/my-route.xml#L20 (even if not including the xsd) was (Author: apupier): example is also using routes https://github.com/apache/camel-examples/blob/a3324456d2b20fa69c917dec1fb49dfca14c6904/main-xml/src/main/resources/routes/my-route.xml#L20 > Xml route generated by Camel Jbang does not respect the xsd used > > > Key: CAMEL-21092 > URL: https://issues.apache.org/jira/browse/CAMEL-21092 > Project: Camel > Issue Type: Bug > Components: camel-jbang >Affects Versions: 4.7.0 >Reporter: Aurélien Pupier >Assignee: Aurélien Pupier >Priority: Major > > when using Camel JBang init to genrate an xml file, it genrates: > {noformat} > > http://camel.apache.org/schema/spring"; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; > xsi:schemaLocation=" http://camel.apache.org/schema/spring > https://camel.apache.org/schema/spring/camel-spring.xsd";> > > > > Hello Camel from ${routeId} > > > > > {noformat} > which is giving this xsd validation: > {noformat} > Cvc-elt.1.a: Cannot Find The Declaration Of Element 'camel'., Line '2', > Column '199'. > {noformat} -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (CAMEL-21092) Xml route generated by Camel Jbang does not respect the xsd used
[ https://issues.apache.org/jira/browse/CAMEL-21092?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17874254#comment-17874254 ] Aurélien Pupier commented on CAMEL-21092: - the tag camel is mentioned on the xml io page https://camel.apache.org/components/4.4.x/others/java-xml-io-dsl.html#_example but there are never an xsd associated, so would be more complicated for end-users to leverage it. the tag routes is also used in one example of the Camel xml io https://camel.apache.org/components/4.4.x/others/java-xml-io-dsl.html#_example > Xml route generated by Camel Jbang does not respect the xsd used > > > Key: CAMEL-21092 > URL: https://issues.apache.org/jira/browse/CAMEL-21092 > Project: Camel > Issue Type: Bug > Components: camel-jbang >Affects Versions: 4.7.0 >Reporter: Aurélien Pupier >Assignee: Aurélien Pupier >Priority: Major > > when using Camel JBang init to genrate an xml file, it genrates: > {noformat} > > http://camel.apache.org/schema/spring"; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; > xsi:schemaLocation=" http://camel.apache.org/schema/spring > https://camel.apache.org/schema/spring/camel-spring.xsd";> > > > > Hello Camel from ${routeId} > > > > > {noformat} > which is giving this xsd validation: > {noformat} > Cvc-elt.1.a: Cannot Find The Declaration Of Element 'camel'., Line '2', > Column '199'. > {noformat} -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (CAMEL-21082) camel-jbang init command is deleting existing routes/files when using --dir option
[ https://issues.apache.org/jira/browse/CAMEL-21082?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17874256#comment-17874256 ] Aurélien Pupier commented on CAMEL-21082: - >From end-user point of view, the init command is to create a new Camel route. >Not to quickly set something to reproduce an issue. i think this use case for >end-user is more importnant. The pattern of deleting folders without warning to end-user is not a user-friendly one. usually from command-line when it happens we need to precise a --force and/or a --recursive options. >From tooling point of view, it would be convenient to use this command to >create a new camel route in an existing folder, not just for prototyping. Not >blocking anyway on this part as we can specify the relative path with folder >names. Having a cleanDir option sounds fine BUT with the *default value to be false* to be sure that end-users knows that it is deleting the folder. > camel-jbang init command is deleting existing routes/files when using --dir > option > -- > > Key: CAMEL-21082 > URL: https://issues.apache.org/jira/browse/CAMEL-21082 > Project: Camel > Issue Type: Bug > Components: camel-jbang >Affects Versions: 4.7.0 >Reporter: Aurélien Pupier >Assignee: Aurélien Pupier >Priority: Major > > {noformat} > jbang '-Dcamel.jbang.version=4.7.0' camel@apache/camel init > firstone.camel.yaml --dir=target-folder > {noformat} > the firstone.camel.yaml file is created > {noformat} > jbang '-Dcamel.jbang.version=4.7.0' camel@apache/camel init > secondone.camel.yaml --dir=target-folder > {noformat} > the firstone.camel.yaml file is deleted (without warning) and > secondone.camel.yaml is created -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (CAMEL-21092) Xml route generated by Camel Jbang does not respect the xsd used
[ https://issues.apache.org/jira/browse/CAMEL-21092?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17874263#comment-17874263 ] Adriano Machado commented on CAMEL-21092: - Is this related to https://issues.apache.org/jira/browse/CAMEL-20921? > Xml route generated by Camel Jbang does not respect the xsd used > > > Key: CAMEL-21092 > URL: https://issues.apache.org/jira/browse/CAMEL-21092 > Project: Camel > Issue Type: Bug > Components: camel-jbang >Affects Versions: 4.7.0 >Reporter: Aurélien Pupier >Assignee: Aurélien Pupier >Priority: Major > > when using Camel JBang init to genrate an xml file, it genrates: > {noformat} > > http://camel.apache.org/schema/spring"; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; > xsi:schemaLocation=" http://camel.apache.org/schema/spring > https://camel.apache.org/schema/spring/camel-spring.xsd";> > > > > Hello Camel from ${routeId} > > > > > {noformat} > which is giving this xsd validation: > {noformat} > Cvc-elt.1.a: Cannot Find The Declaration Of Element 'camel'., Line '2', > Column '199'. > {noformat} -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Comment Edited] (CAMEL-21092) Xml route generated by Camel Jbang does not respect the xsd used
[ https://issues.apache.org/jira/browse/CAMEL-21092?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17874263#comment-17874263 ] Adriano Machado edited comment on CAMEL-21092 at 8/16/24 1:56 PM: -- Is this related to https://issues.apache.org/jira/browse/CAMEL-20921? Changing the tag to `route` will allow adding `routeConfiguration`s? was (Author: ammachado): Is this related to https://issues.apache.org/jira/browse/CAMEL-20921? > Xml route generated by Camel Jbang does not respect the xsd used > > > Key: CAMEL-21092 > URL: https://issues.apache.org/jira/browse/CAMEL-21092 > Project: Camel > Issue Type: Bug > Components: camel-jbang >Affects Versions: 4.7.0 >Reporter: Aurélien Pupier >Assignee: Aurélien Pupier >Priority: Major > > when using Camel JBang init to genrate an xml file, it genrates: > {noformat} > > http://camel.apache.org/schema/spring"; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; > xsi:schemaLocation=" http://camel.apache.org/schema/spring > https://camel.apache.org/schema/spring/camel-spring.xsd";> > > > > Hello Camel from ${routeId} > > > > > {noformat} > which is giving this xsd validation: > {noformat} > Cvc-elt.1.a: Cannot Find The Declaration Of Element 'camel'., Line '2', > Column '199'. > {noformat} -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Created] (CAMEL-21093) fhir auth x springboot example is failing with ClassNotFoundException: org.apache.commons.io.function.Uncheck
Aurélien Pupier created CAMEL-21093: --- Summary: fhir auth x springboot example is failing with ClassNotFoundException: org.apache.commons.io.function.Uncheck Key: CAMEL-21093 URL: https://issues.apache.org/jira/browse/CAMEL-21093 Project: Camel Issue Type: Bug Components: camel-csv, camel-fhir, examples Affects Versions: 4.7.0 Reporter: Aurélien Pupier Attachments: image-2024-08-16-16-16-30-310.png https://github.com/apache/camel-spring-boot-examples/tree/main/fhir-auth-tx {noformat} [ERROR] Failures: [ERROR] sample.camel.MyCamelApplicationTest.shouldPushConvertedHl7toFhir [ERROR] Run 1: MyCamelApplicationTest.shouldPushConvertedHl7toFhir:46 mock://fhir:transaction/withResources Received message count. Expected: <1> but was: <0> [ERROR] Run 2: MyCamelApplicationTest.shouldPushConvertedHl7toFhir:46 mock://fhir:transaction/withResources Received message count. Expected: <1> but was: <0> [ERROR] Run 3: MyCamelApplicationTest.shouldPushConvertedHl7toFhir:46 mock://fhir:transaction/withResources Received message count. Expected: <1> but was: <0> {noformat} {noformat} java.lang.NoClassDefFoundError: org/apache/commons/io/function/Uncheck at org.apache.commons.csv.CSVParser$CSVRecordIterator.getNextRecord(CSVParser.java:149) ~[commons-csv-1.11.0.jar:1.11.0] at org.apache.commons.csv.CSVParser$CSVRecordIterator.hasNext(CSVParser.java:158) ~[commons-csv-1.11.0.jar:1.11.0] at org.apache.camel.dataformat.csv.CsvUnmarshaller$BulkCsvUnmarshaller.asList(CsvUnmarshaller.java:123) ~[camel-csv-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] at org.apache.camel.dataformat.csv.CsvUnmarshaller$BulkCsvUnmarshaller.unmarshal(CsvUnmarshaller.java:115) ~[camel-csv-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] at org.apache.camel.dataformat.csv.CsvDataFormat.unmarshal(CsvDataFormat.java:100) ~[camel-csv-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] at org.apache.camel.support.processor.UnmarshalProcessor.process(UnmarshalProcessor.java:81) ~[camel-support-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] at org.apache.camel.processor.errorhandler.RedeliveryErrorHandler$RedeliveryTask.doRun(RedeliveryErrorHandler.java:808) ~[camel-core-processor-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] at org.apache.camel.processor.errorhandler.RedeliveryErrorHandler$RedeliveryTask.run(RedeliveryErrorHandler.java:714) ~[camel-core-processor-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] at org.apache.camel.impl.engine.DefaultReactiveExecutor$Worker.doRun(DefaultReactiveExecutor.java:199) ~[camel-base-engine-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] at org.apache.camel.impl.engine.DefaultReactiveExecutor$Worker.executeReactiveWork(DefaultReactiveExecutor.java:189) ~[camel-base-engine-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] at org.apache.camel.impl.engine.DefaultReactiveExecutor$Worker.tryExecuteReactiveWork(DefaultReactiveExecutor.java:166) ~[camel-base-engine-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] at org.apache.camel.impl.engine.DefaultReactiveExecutor$Worker.schedule(DefaultReactiveExecutor.java:148) ~[camel-base-engine-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] at org.apache.camel.impl.engine.DefaultReactiveExecutor.scheduleMain(DefaultReactiveExecutor.java:59) ~[camel-base-engine-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] at org.apache.camel.processor.Pipeline.process(Pipeline.java:163) ~[camel-core-processor-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] at org.apache.camel.impl.engine.CamelInternalProcessor.processNonTransacted(CamelInternalProcessor.java:346) ~[camel-base-engine-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] at org.apache.camel.impl.engine.CamelInternalProcessor.process(CamelInternalProcessor.java:322) ~[camel-base-engine-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] at org.apache.camel.component.file.GenericFileConsumer.processExchange(GenericFileConsumer.java:457) ~[camel-file-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] at org.apache.camel.component.file.GenericFileConsumer.processBatch(GenericFileConsumer.java:243) ~[camel-file-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] at org.apache.camel.component.file.GenericFileConsumer.poll(GenericFileConsumer.java:204) ~[camel-file-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] at org.apache.camel.support.ScheduledPollConsumer.doRun(ScheduledPollConsumer.java:205) ~[camel-support-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] at org.apache.camel.support.ScheduledPollConsumer.run(ScheduledPollConsumer.java:119) ~[camel-support-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) ~[na:na] at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305) ~[na:na] at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) ~[na
[jira] [Assigned] (CAMEL-21093) fhir auth x springboot example is failing with ClassNotFoundException: org.apache.commons.io.function.Uncheck
[ https://issues.apache.org/jira/browse/CAMEL-21093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aurélien Pupier reassigned CAMEL-21093: --- Assignee: Aurélien Pupier > fhir auth x springboot example is failing with ClassNotFoundException: > org.apache.commons.io.function.Uncheck > - > > Key: CAMEL-21093 > URL: https://issues.apache.org/jira/browse/CAMEL-21093 > Project: Camel > Issue Type: Bug > Components: camel-csv, camel-fhir, examples >Affects Versions: 4.7.0 >Reporter: Aurélien Pupier >Assignee: Aurélien Pupier >Priority: Major > Attachments: image-2024-08-16-16-16-30-310.png > > > https://github.com/apache/camel-spring-boot-examples/tree/main/fhir-auth-tx > {noformat} > [ERROR] Failures: > [ERROR] sample.camel.MyCamelApplicationTest.shouldPushConvertedHl7toFhir > [ERROR] Run 1: MyCamelApplicationTest.shouldPushConvertedHl7toFhir:46 > mock://fhir:transaction/withResources Received message count. Expected: <1> > but was: <0> > [ERROR] Run 2: MyCamelApplicationTest.shouldPushConvertedHl7toFhir:46 > mock://fhir:transaction/withResources Received message count. Expected: <1> > but was: <0> > [ERROR] Run 3: MyCamelApplicationTest.shouldPushConvertedHl7toFhir:46 > mock://fhir:transaction/withResources Received message count. Expected: <1> > but was: <0> > {noformat} > {noformat} > java.lang.NoClassDefFoundError: org/apache/commons/io/function/Uncheck > at > org.apache.commons.csv.CSVParser$CSVRecordIterator.getNextRecord(CSVParser.java:149) > ~[commons-csv-1.11.0.jar:1.11.0] > at > org.apache.commons.csv.CSVParser$CSVRecordIterator.hasNext(CSVParser.java:158) > ~[commons-csv-1.11.0.jar:1.11.0] > at > org.apache.camel.dataformat.csv.CsvUnmarshaller$BulkCsvUnmarshaller.asList(CsvUnmarshaller.java:123) > ~[camel-csv-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] > at > org.apache.camel.dataformat.csv.CsvUnmarshaller$BulkCsvUnmarshaller.unmarshal(CsvUnmarshaller.java:115) > ~[camel-csv-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] > at > org.apache.camel.dataformat.csv.CsvDataFormat.unmarshal(CsvDataFormat.java:100) > ~[camel-csv-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] > at > org.apache.camel.support.processor.UnmarshalProcessor.process(UnmarshalProcessor.java:81) > ~[camel-support-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] > at > org.apache.camel.processor.errorhandler.RedeliveryErrorHandler$RedeliveryTask.doRun(RedeliveryErrorHandler.java:808) > ~[camel-core-processor-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] > at > org.apache.camel.processor.errorhandler.RedeliveryErrorHandler$RedeliveryTask.run(RedeliveryErrorHandler.java:714) > ~[camel-core-processor-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] > at > org.apache.camel.impl.engine.DefaultReactiveExecutor$Worker.doRun(DefaultReactiveExecutor.java:199) > ~[camel-base-engine-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] > at > org.apache.camel.impl.engine.DefaultReactiveExecutor$Worker.executeReactiveWork(DefaultReactiveExecutor.java:189) > ~[camel-base-engine-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] > at > org.apache.camel.impl.engine.DefaultReactiveExecutor$Worker.tryExecuteReactiveWork(DefaultReactiveExecutor.java:166) > ~[camel-base-engine-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] > at > org.apache.camel.impl.engine.DefaultReactiveExecutor$Worker.schedule(DefaultReactiveExecutor.java:148) > ~[camel-base-engine-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] > at > org.apache.camel.impl.engine.DefaultReactiveExecutor.scheduleMain(DefaultReactiveExecutor.java:59) > ~[camel-base-engine-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] > at org.apache.camel.processor.Pipeline.process(Pipeline.java:163) > ~[camel-core-processor-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] > at > org.apache.camel.impl.engine.CamelInternalProcessor.processNonTransacted(CamelInternalProcessor.java:346) > ~[camel-base-engine-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] > at > org.apache.camel.impl.engine.CamelInternalProcessor.process(CamelInternalProcessor.java:322) > ~[camel-base-engine-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] > at > org.apache.camel.component.file.GenericFileConsumer.processExchange(GenericFileConsumer.java:457) > ~[camel-file-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] > at > org.apache.camel.component.file.GenericFileConsumer.processBatch(GenericFileConsumer.java:243) > ~[camel-file-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] > at > org.apache.camel.component.file.GenericFileConsumer.poll(GenericFileConsumer.java:204) > ~[camel-file-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] > at > org.apache.camel.support.ScheduledPollConsumer.doRun(ScheduledPollConsumer.java:205) > ~[camel-support-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] > at > org.apache.camel.support.
[jira] [Commented] (CAMEL-21093) fhir auth x springboot example is failing with ClassNotFoundException: org.apache.commons.io.function.Uncheck
[ https://issues.apache.org/jira/browse/CAMEL-21093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17874273#comment-17874273 ] Aurélien Pupier commented on CAMEL-21093: - Provided a PR to worjkaround the version clash in the example. But do we need something more generic? Force more recent commons-io on camel-fhir component? Try to have fhir component to upgrade commons-io? > fhir auth x springboot example is failing with ClassNotFoundException: > org.apache.commons.io.function.Uncheck > - > > Key: CAMEL-21093 > URL: https://issues.apache.org/jira/browse/CAMEL-21093 > Project: Camel > Issue Type: Bug > Components: camel-csv, camel-fhir, examples >Affects Versions: 4.7.0 >Reporter: Aurélien Pupier >Assignee: Aurélien Pupier >Priority: Major > Attachments: image-2024-08-16-16-16-30-310.png > > > https://github.com/apache/camel-spring-boot-examples/tree/main/fhir-auth-tx > {noformat} > [ERROR] Failures: > [ERROR] sample.camel.MyCamelApplicationTest.shouldPushConvertedHl7toFhir > [ERROR] Run 1: MyCamelApplicationTest.shouldPushConvertedHl7toFhir:46 > mock://fhir:transaction/withResources Received message count. Expected: <1> > but was: <0> > [ERROR] Run 2: MyCamelApplicationTest.shouldPushConvertedHl7toFhir:46 > mock://fhir:transaction/withResources Received message count. Expected: <1> > but was: <0> > [ERROR] Run 3: MyCamelApplicationTest.shouldPushConvertedHl7toFhir:46 > mock://fhir:transaction/withResources Received message count. Expected: <1> > but was: <0> > {noformat} > {noformat} > java.lang.NoClassDefFoundError: org/apache/commons/io/function/Uncheck > at > org.apache.commons.csv.CSVParser$CSVRecordIterator.getNextRecord(CSVParser.java:149) > ~[commons-csv-1.11.0.jar:1.11.0] > at > org.apache.commons.csv.CSVParser$CSVRecordIterator.hasNext(CSVParser.java:158) > ~[commons-csv-1.11.0.jar:1.11.0] > at > org.apache.camel.dataformat.csv.CsvUnmarshaller$BulkCsvUnmarshaller.asList(CsvUnmarshaller.java:123) > ~[camel-csv-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] > at > org.apache.camel.dataformat.csv.CsvUnmarshaller$BulkCsvUnmarshaller.unmarshal(CsvUnmarshaller.java:115) > ~[camel-csv-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] > at > org.apache.camel.dataformat.csv.CsvDataFormat.unmarshal(CsvDataFormat.java:100) > ~[camel-csv-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] > at > org.apache.camel.support.processor.UnmarshalProcessor.process(UnmarshalProcessor.java:81) > ~[camel-support-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] > at > org.apache.camel.processor.errorhandler.RedeliveryErrorHandler$RedeliveryTask.doRun(RedeliveryErrorHandler.java:808) > ~[camel-core-processor-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] > at > org.apache.camel.processor.errorhandler.RedeliveryErrorHandler$RedeliveryTask.run(RedeliveryErrorHandler.java:714) > ~[camel-core-processor-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] > at > org.apache.camel.impl.engine.DefaultReactiveExecutor$Worker.doRun(DefaultReactiveExecutor.java:199) > ~[camel-base-engine-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] > at > org.apache.camel.impl.engine.DefaultReactiveExecutor$Worker.executeReactiveWork(DefaultReactiveExecutor.java:189) > ~[camel-base-engine-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] > at > org.apache.camel.impl.engine.DefaultReactiveExecutor$Worker.tryExecuteReactiveWork(DefaultReactiveExecutor.java:166) > ~[camel-base-engine-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] > at > org.apache.camel.impl.engine.DefaultReactiveExecutor$Worker.schedule(DefaultReactiveExecutor.java:148) > ~[camel-base-engine-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] > at > org.apache.camel.impl.engine.DefaultReactiveExecutor.scheduleMain(DefaultReactiveExecutor.java:59) > ~[camel-base-engine-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] > at org.apache.camel.processor.Pipeline.process(Pipeline.java:163) > ~[camel-core-processor-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] > at > org.apache.camel.impl.engine.CamelInternalProcessor.processNonTransacted(CamelInternalProcessor.java:346) > ~[camel-base-engine-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] > at > org.apache.camel.impl.engine.CamelInternalProcessor.process(CamelInternalProcessor.java:322) > ~[camel-base-engine-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] > at > org.apache.camel.component.file.GenericFileConsumer.processExchange(GenericFileConsumer.java:457) > ~[camel-file-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] > at > org.apache.camel.component.file.GenericFileConsumer.processBatch(GenericFileConsumer.java:243) > ~[camel-file-4.8.0-SNAPSHOT.jar:4.8.0-SNAPSHOT] > at > org.apache.camel.component.file.GenericFileConsumer.poll(GenericFileConsumer.java:204) > ~[camel-fil
[jira] [Commented] (CAMEL-21092) Xml route generated by Camel Jbang does not respect the xsd used
[ https://issues.apache.org/jira/browse/CAMEL-21092?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17874279#comment-17874279 ] Aurélien Pupier commented on CAMEL-21092: - The xsd does not allow to add a `routeConfiguration` in `routes` tag. So changing to routes won't allow to add the same things than before. I found no xsd containg the `camel` tag. in case we really want/need this camel tag, we must provide an xsd to know what is allowed and not and to have tooling to guide users. > Xml route generated by Camel Jbang does not respect the xsd used > > > Key: CAMEL-21092 > URL: https://issues.apache.org/jira/browse/CAMEL-21092 > Project: Camel > Issue Type: Bug > Components: camel-jbang >Affects Versions: 4.7.0 >Reporter: Aurélien Pupier >Assignee: Aurélien Pupier >Priority: Major > > when using Camel JBang init to genrate an xml file, it genrates: > {noformat} > > http://camel.apache.org/schema/spring"; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; > xsi:schemaLocation=" http://camel.apache.org/schema/spring > https://camel.apache.org/schema/spring/camel-spring.xsd";> > > > > Hello Camel from ${routeId} > > > > > {noformat} > which is giving this xsd validation: > {noformat} > Cvc-elt.1.a: Cannot Find The Declaration Of Element 'camel'., Line '2', > Column '199'. > {noformat} -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Created] (CAMEL-21094) Merge multiple PDF files in camel-pdf
ALEXANDRE DAVI ZANELATTO created CAMEL-21094: Summary: Merge multiple PDF files in camel-pdf Key: CAMEL-21094 URL: https://issues.apache.org/jira/browse/CAMEL-21094 Project: Camel Issue Type: New Feature Components: camel-pdf Reporter: ALEXANDRE DAVI ZANELATTO Use the PDFMergerUtility from Apache PDFBox to be able to merge multiple PDF files into a single one -- This message was sent by Atlassian Jira (v8.20.10#820010)