[jira] [Commented] (CAMEL-13738) parent/pom.xml - use dash in version properties
[ https://issues.apache.org/jira/browse/CAMEL-13738?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16881508#comment-16881508 ] Jan Bednar commented on CAMEL-13738: There are 74 properties unused in modules and bundles. Report in [^properties-cleanup-output.txt] > parent/pom.xml - use dash in version properties > --- > > Key: CAMEL-13738 > URL: https://issues.apache.org/jira/browse/CAMEL-13738 > Project: Camel > Issue Type: Task > Components: build system >Reporter: Claus Ibsen >Priority: Minor > Fix For: 3.0.0 > > Attachments: properties-cleanup-output.txt > > > We should only use dashes in the names, eg > 2.2.5 > 2.2.5 > 3.0.0 > > 3.0.1-b04 > > 3.0.1-b10 > Should be > javax-el-version and so forth. Also check if all of them are still in use? > Contributions is welcome -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (CAMEL-13738) parent/pom.xml - use dash in version properties
[ https://issues.apache.org/jira/browse/CAMEL-13738?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jan Bednar updated CAMEL-13738: --- Attachment: properties-cleanup-output.txt > parent/pom.xml - use dash in version properties > --- > > Key: CAMEL-13738 > URL: https://issues.apache.org/jira/browse/CAMEL-13738 > Project: Camel > Issue Type: Task > Components: build system >Reporter: Claus Ibsen >Priority: Minor > Fix For: 3.0.0 > > Attachments: properties-cleanup-output.txt > > > We should only use dashes in the names, eg > 2.2.5 > 2.2.5 > 3.0.0 > > 3.0.1-b04 > > 3.0.1-b10 > Should be > javax-el-version and so forth. Also check if all of them are still in use? > Contributions is welcome -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (CAMEL-13738) parent/pom.xml - use dash in version properties
[ https://issues.apache.org/jira/browse/CAMEL-13738?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16881489#comment-16881489 ] Jan Bednar commented on CAMEL-13738: I have script validating unused properties somewhere. I will try to find it and execute for camel-parent pom. > parent/pom.xml - use dash in version properties > --- > > Key: CAMEL-13738 > URL: https://issues.apache.org/jira/browse/CAMEL-13738 > Project: Camel > Issue Type: Task > Components: build system >Reporter: Claus Ibsen >Priority: Minor > Fix For: 3.0.0 > > > We should only use dashes in the names, eg > 2.2.5 > 2.2.5 > 3.0.0 > > 3.0.1-b04 > > 3.0.1-b10 > Should be > javax-el-version and so forth. Also check if all of them are still in use? > Contributions is welcome -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Reopened] (CAMEL-13454) camel-testcontainers - Should build if no docker
[ https://issues.apache.org/jira/browse/CAMEL-13454?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ramu reopened CAMEL-13454: -- > camel-testcontainers - Should build if no docker > > > Key: CAMEL-13454 > URL: https://issues.apache.org/jira/browse/CAMEL-13454 > Project: Camel > Issue Type: Improvement >Reporter: Claus Ibsen >Assignee: Ramu >Priority: Major > Fix For: 3.0.0 > > Attachments: pom.xml > > Time Spent: 20m > Remaining Estimate: 0h > > If you run mvn clean install then the following should still pass. > [INFO] --- > [INFO] T E S T S > [INFO] --- > [INFO] Running > org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT > [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: > 31.178 s <<< FAILURE! - in > org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT > [ERROR] > testPropertyPlaceholders(org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT) > Time elapsed: 30.805 s <<< ERROR! > java.lang.IllegalStateException: Could not find a valid Docker environment. > Please see logs and check configuration > at > org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT.createContainer(ContainerAwareTestSupportIT.java:37) > [INFO] > [INFO] Results: > [INFO] > [ERROR] Errors: > [ERROR] > ContainerAwareTestSupportIT>CamelTestSupport.setUp:284->ContainerAwareTestSupport.setupResources:42->ContainerAwareTestSupport.createContainers:76->createContainer:37 > » IllegalState > [INFO] > [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0 > [INFO] > [INFO] > [INFO] --- maven-failsafe-plugin:2.22.1:verify (default) @ > camel-testcontainers --- > [INFO] > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (CAMEL-13741) Map to Iterable converter regression
[ https://issues.apache.org/jira/browse/CAMEL-13741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16881406#comment-16881406 ] Claus Ibsen commented on CAMEL-13741: - master, and then camel-2.x > Map to Iterable converter regression > > > Key: CAMEL-13741 > URL: https://issues.apache.org/jira/browse/CAMEL-13741 > Project: Camel > Issue Type: Improvement > Components: camel-core >Affects Versions: 2.20.0 >Reporter: Antoine DESSAIGNE >Priority: Major > > When converting a {{Map}} to an {{Iterable}} the results is no longer the > same since CAMEL-11379. > Given the following context > {code} > > http://camel.apache.org/schema/spring";> > > > > [A: 'aa', B: 'bb', C: 'cc', D: 'dd'] > > > > ${body} > > > > > {code} > It produces 4 log messages in camel 2.18.3 using the converter > {{CollectionConverter.toSet(java.util.Map)}}. Using camel 2.24.1 it > produces only one message containing the whole list. This is due to > {{ObjectConverterOptimised}} calling > {{ObjectHelper.createIterable(java.lang.Object)}} which has a fallback to > {{Collections.singletonList(value)}} thus producing a single entry with the > whole Map. > The fix is probably to add in > {{ObjectHelper.createIterable(java.lang.Object)}} the following code > {code} > if (value instanceof Map) { > return ((Map)value).entrySet(); > } > {code} > but I would like to know what you think about it before doing a pull request. > Thanks -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (CAMEL-13454) camel-testcontainers - Should build if no docker
[ https://issues.apache.org/jira/browse/CAMEL-13454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16881405#comment-16881405 ] Ramu commented on CAMEL-13454: -- [~akoufoudakis] I do not have os x to test. I have attached pom.xml. could you please test and let us know the results > camel-testcontainers - Should build if no docker > > > Key: CAMEL-13454 > URL: https://issues.apache.org/jira/browse/CAMEL-13454 > Project: Camel > Issue Type: Improvement >Reporter: Claus Ibsen >Assignee: Ramu >Priority: Major > Fix For: 3.0.0 > > Attachments: pom.xml > > Time Spent: 20m > Remaining Estimate: 0h > > If you run mvn clean install then the following should still pass. > [INFO] --- > [INFO] T E S T S > [INFO] --- > [INFO] Running > org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT > [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: > 31.178 s <<< FAILURE! - in > org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT > [ERROR] > testPropertyPlaceholders(org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT) > Time elapsed: 30.805 s <<< ERROR! > java.lang.IllegalStateException: Could not find a valid Docker environment. > Please see logs and check configuration > at > org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT.createContainer(ContainerAwareTestSupportIT.java:37) > [INFO] > [INFO] Results: > [INFO] > [ERROR] Errors: > [ERROR] > ContainerAwareTestSupportIT>CamelTestSupport.setUp:284->ContainerAwareTestSupport.setupResources:42->ContainerAwareTestSupport.createContainers:76->createContainer:37 > » IllegalState > [INFO] > [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0 > [INFO] > [INFO] > [INFO] --- maven-failsafe-plugin:2.22.1:verify (default) @ > camel-testcontainers --- > [INFO] > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (CAMEL-13454) camel-testcontainers - Should build if no docker
[ https://issues.apache.org/jira/browse/CAMEL-13454?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ramu updated CAMEL-13454: - Attachment: pom.xml > camel-testcontainers - Should build if no docker > > > Key: CAMEL-13454 > URL: https://issues.apache.org/jira/browse/CAMEL-13454 > Project: Camel > Issue Type: Improvement >Reporter: Claus Ibsen >Assignee: Ramu >Priority: Major > Fix For: 3.0.0 > > Attachments: pom.xml > > Time Spent: 20m > Remaining Estimate: 0h > > If you run mvn clean install then the following should still pass. > [INFO] --- > [INFO] T E S T S > [INFO] --- > [INFO] Running > org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT > [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: > 31.178 s <<< FAILURE! - in > org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT > [ERROR] > testPropertyPlaceholders(org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT) > Time elapsed: 30.805 s <<< ERROR! > java.lang.IllegalStateException: Could not find a valid Docker environment. > Please see logs and check configuration > at > org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT.createContainer(ContainerAwareTestSupportIT.java:37) > [INFO] > [INFO] Results: > [INFO] > [ERROR] Errors: > [ERROR] > ContainerAwareTestSupportIT>CamelTestSupport.setUp:284->ContainerAwareTestSupport.setupResources:42->ContainerAwareTestSupport.createContainers:76->createContainer:37 > » IllegalState > [INFO] > [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0 > [INFO] > [INFO] > [INFO] --- maven-failsafe-plugin:2.22.1:verify (default) @ > camel-testcontainers --- > [INFO] > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (CAMEL-13737) [AVRO] java.lang.ArrayIndexOutOfBoundsException: -40
[ https://issues.apache.org/jira/browse/CAMEL-13737?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16881389#comment-16881389 ] michael elbaz commented on CAMEL-13737: --- I add the project you just have to specify the input directory path in file component and run the main class > [AVRO] java.lang.ArrayIndexOutOfBoundsException: -40 > > > Key: CAMEL-13737 > URL: https://issues.apache.org/jira/browse/CAMEL-13737 > Project: Camel > Issue Type: Bug > Components: camel-avro >Affects Versions: 2.24.1 >Reporter: michael elbaz >Priority: Minor > Attachments: avro1.avro, packages.zip, test-avro-project.zip > > > When i try to deserialize some avro file like provided i got > java.lang.ArrayIndexOutOfBoundsException: -40, i also didn't understand the > camel component it doesn't put the schema in the generated avro file it > should not ? > The route: > {code:java} > public class AvroRoute extends RouteBuilder { > @Override > public void configure() throws Exception { > from("file:?noop=true&delay=3&initialDelay=0") > > .unmarshal().avro("referential.product.v2.NationalSalePricesBV1") > ; > } > } > {code} > The stackTrace: > {code:java} > Message History > --- > RouteId ProcessorId Processor > Elapsed (ms) > [route1] [route1] > [file://D:/java/tests/avro/src/main/resources/in?delay=3&initialDelay=0&noo] > [34] > [route1] [unmarshal1] > [unmarshal[org.apache.camel.model.dataformat.AvroDataFormat@2394b9c7] > ] [30] > Stacktrace > --- > java.lang.ArrayIndexOutOfBoundsException: -40 > at > org.apache.avro.io.parsing.Symbol$Alternative.getSymbol(Symbol.java:424) > ~[avro-1.8.2.jar:1.8.2] > at > org.apache.avro.io.ResolvingDecoder.doAction(ResolvingDecoder.java:290) > ~[avro-1.8.2.jar:1.8.2] > at org.apache.avro.io.parsing.Parser.advance(Parser.java:88) > ~[avro-1.8.2.jar:1.8.2] > at > org.apache.avro.io.ResolvingDecoder.readIndex(ResolvingDecoder.java:267) > ~[avro-1.8.2.jar:1.8.2] > at > org.apache.avro.generic.GenericDatumReader.readWithoutConversion(GenericDatumReader.java:179) > ~[avro-1.8.2.jar:1.8.2] > at > org.apache.avro.specific.SpecificDatumReader.readField(SpecificDatumReader.java:116) > ~[avro-1.8.2.jar:1.8.2] > at > org.apache.avro.generic.GenericDatumReader.readRecord(GenericDatumReader.java:222) > ~[avro-1.8.2.jar:1.8.2] > at > org.apache.avro.generic.GenericDatumReader.readWithoutConversion(GenericDatumReader.java:175) > ~[avro-1.8.2.jar:1.8.2] > at > org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:153) > ~[avro-1.8.2.jar:1.8.2] > at > org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:145) > ~[avro-1.8.2.jar:1.8.2] > at > org.apache.camel.dataformat.avro.AvroDataFormat.unmarshal(AvroDataFormat.java:148) > ~[camel-avro-2.23.0.jar:2.23.0] > at > org.apache.camel.processor.UnmarshalProcessor.process(UnmarshalProcessor.java:69) > ~[camel-core-2.23.0.jar:2.23.0] > at > org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:548) > ~[camel-core-2.23.0.jar:2.23.0] > at > org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) > [camel-core-2.23.0.jar:2.23.0] > at > org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) > [camel-core-2.23.0.jar:2.23.0] > at > org.apache.camel.component.file.GenericFileConsumer.processExchange(GenericFileConsumer.java:454) > [camel-core-2.23.0.jar:2.23.0] > at > org.apache.camel.component.file.GenericFileConsumer.processBatch(GenericFileConsumer.java:223) > [camel-core-2.23.0.jar:2.23.0] > at > org.apache.camel.component.file.GenericFileConsumer.poll(GenericFileConsumer.java:187) > [camel-core-2.23.0.jar:2.23.0] > at > org.apache.camel.impl.ScheduledPollConsumer.doRun(ScheduledPollConsumer.java:174) > [camel-core-2.23.0.jar:2.23.0] > at > org.apache.camel.impl.ScheduledPollConsumer.run(ScheduledPollConsumer.java:101) > [camel-core-2.23.0.jar:2.23.0] > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > [na:1.8.0_201] > at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) > [na:1.8.0_201] > at > java.util.c
[jira] [Updated] (CAMEL-13737) [AVRO] java.lang.ArrayIndexOutOfBoundsException: -40
[ https://issues.apache.org/jira/browse/CAMEL-13737?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] michael elbaz updated CAMEL-13737: -- Attachment: test-avro-project.zip > [AVRO] java.lang.ArrayIndexOutOfBoundsException: -40 > > > Key: CAMEL-13737 > URL: https://issues.apache.org/jira/browse/CAMEL-13737 > Project: Camel > Issue Type: Bug > Components: camel-avro >Affects Versions: 2.24.1 >Reporter: michael elbaz >Priority: Minor > Attachments: avro1.avro, packages.zip, test-avro-project.zip > > > When i try to deserialize some avro file like provided i got > java.lang.ArrayIndexOutOfBoundsException: -40, i also didn't understand the > camel component it doesn't put the schema in the generated avro file it > should not ? > The route: > {code:java} > public class AvroRoute extends RouteBuilder { > @Override > public void configure() throws Exception { > from("file:?noop=true&delay=3&initialDelay=0") > > .unmarshal().avro("referential.product.v2.NationalSalePricesBV1") > ; > } > } > {code} > The stackTrace: > {code:java} > Message History > --- > RouteId ProcessorId Processor > Elapsed (ms) > [route1] [route1] > [file://D:/java/tests/avro/src/main/resources/in?delay=3&initialDelay=0&noo] > [34] > [route1] [unmarshal1] > [unmarshal[org.apache.camel.model.dataformat.AvroDataFormat@2394b9c7] > ] [30] > Stacktrace > --- > java.lang.ArrayIndexOutOfBoundsException: -40 > at > org.apache.avro.io.parsing.Symbol$Alternative.getSymbol(Symbol.java:424) > ~[avro-1.8.2.jar:1.8.2] > at > org.apache.avro.io.ResolvingDecoder.doAction(ResolvingDecoder.java:290) > ~[avro-1.8.2.jar:1.8.2] > at org.apache.avro.io.parsing.Parser.advance(Parser.java:88) > ~[avro-1.8.2.jar:1.8.2] > at > org.apache.avro.io.ResolvingDecoder.readIndex(ResolvingDecoder.java:267) > ~[avro-1.8.2.jar:1.8.2] > at > org.apache.avro.generic.GenericDatumReader.readWithoutConversion(GenericDatumReader.java:179) > ~[avro-1.8.2.jar:1.8.2] > at > org.apache.avro.specific.SpecificDatumReader.readField(SpecificDatumReader.java:116) > ~[avro-1.8.2.jar:1.8.2] > at > org.apache.avro.generic.GenericDatumReader.readRecord(GenericDatumReader.java:222) > ~[avro-1.8.2.jar:1.8.2] > at > org.apache.avro.generic.GenericDatumReader.readWithoutConversion(GenericDatumReader.java:175) > ~[avro-1.8.2.jar:1.8.2] > at > org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:153) > ~[avro-1.8.2.jar:1.8.2] > at > org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:145) > ~[avro-1.8.2.jar:1.8.2] > at > org.apache.camel.dataformat.avro.AvroDataFormat.unmarshal(AvroDataFormat.java:148) > ~[camel-avro-2.23.0.jar:2.23.0] > at > org.apache.camel.processor.UnmarshalProcessor.process(UnmarshalProcessor.java:69) > ~[camel-core-2.23.0.jar:2.23.0] > at > org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:548) > ~[camel-core-2.23.0.jar:2.23.0] > at > org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) > [camel-core-2.23.0.jar:2.23.0] > at > org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) > [camel-core-2.23.0.jar:2.23.0] > at > org.apache.camel.component.file.GenericFileConsumer.processExchange(GenericFileConsumer.java:454) > [camel-core-2.23.0.jar:2.23.0] > at > org.apache.camel.component.file.GenericFileConsumer.processBatch(GenericFileConsumer.java:223) > [camel-core-2.23.0.jar:2.23.0] > at > org.apache.camel.component.file.GenericFileConsumer.poll(GenericFileConsumer.java:187) > [camel-core-2.23.0.jar:2.23.0] > at > org.apache.camel.impl.ScheduledPollConsumer.doRun(ScheduledPollConsumer.java:174) > [camel-core-2.23.0.jar:2.23.0] > at > org.apache.camel.impl.ScheduledPollConsumer.run(ScheduledPollConsumer.java:101) > [camel-core-2.23.0.jar:2.23.0] > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > [na:1.8.0_201] > at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) > [na:1.8.0_201] > at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) > [na:1.8.0_201] >
[jira] [Updated] (CAMEL-13737) [AVRO] java.lang.ArrayIndexOutOfBoundsException: -40
[ https://issues.apache.org/jira/browse/CAMEL-13737?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] michael elbaz updated CAMEL-13737: -- Description: When i try to deserialize some avro file like provided i got java.lang.ArrayIndexOutOfBoundsException: -40, i also didn't understand the camel component it doesn't put the schema in the generated avro file it should not ? The route: {code:java} public class AvroRoute extends RouteBuilder { @Override public void configure() throws Exception { from("file:?noop=true&delay=3&initialDelay=0") .unmarshal().avro("referential.product.v2.NationalSalePricesBV1") ; } } {code} The stackTrace: {code:java} Message History --- RouteId ProcessorId Processor Elapsed (ms) [route1] [route1] [file://D:/java/tests/avro/src/main/resources/in?delay=3&initialDelay=0&noo] [34] [route1] [unmarshal1] [unmarshal[org.apache.camel.model.dataformat.AvroDataFormat@2394b9c7] ] [30] Stacktrace --- java.lang.ArrayIndexOutOfBoundsException: -40 at org.apache.avro.io.parsing.Symbol$Alternative.getSymbol(Symbol.java:424) ~[avro-1.8.2.jar:1.8.2] at org.apache.avro.io.ResolvingDecoder.doAction(ResolvingDecoder.java:290) ~[avro-1.8.2.jar:1.8.2] at org.apache.avro.io.parsing.Parser.advance(Parser.java:88) ~[avro-1.8.2.jar:1.8.2] at org.apache.avro.io.ResolvingDecoder.readIndex(ResolvingDecoder.java:267) ~[avro-1.8.2.jar:1.8.2] at org.apache.avro.generic.GenericDatumReader.readWithoutConversion(GenericDatumReader.java:179) ~[avro-1.8.2.jar:1.8.2] at org.apache.avro.specific.SpecificDatumReader.readField(SpecificDatumReader.java:116) ~[avro-1.8.2.jar:1.8.2] at org.apache.avro.generic.GenericDatumReader.readRecord(GenericDatumReader.java:222) ~[avro-1.8.2.jar:1.8.2] at org.apache.avro.generic.GenericDatumReader.readWithoutConversion(GenericDatumReader.java:175) ~[avro-1.8.2.jar:1.8.2] at org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:153) ~[avro-1.8.2.jar:1.8.2] at org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:145) ~[avro-1.8.2.jar:1.8.2] at org.apache.camel.dataformat.avro.AvroDataFormat.unmarshal(AvroDataFormat.java:148) ~[camel-avro-2.23.0.jar:2.23.0] at org.apache.camel.processor.UnmarshalProcessor.process(UnmarshalProcessor.java:69) ~[camel-core-2.23.0.jar:2.23.0] at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:548) ~[camel-core-2.23.0.jar:2.23.0] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) [camel-core-2.23.0.jar:2.23.0] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) [camel-core-2.23.0.jar:2.23.0] at org.apache.camel.component.file.GenericFileConsumer.processExchange(GenericFileConsumer.java:454) [camel-core-2.23.0.jar:2.23.0] at org.apache.camel.component.file.GenericFileConsumer.processBatch(GenericFileConsumer.java:223) [camel-core-2.23.0.jar:2.23.0] at org.apache.camel.component.file.GenericFileConsumer.poll(GenericFileConsumer.java:187) [camel-core-2.23.0.jar:2.23.0] at org.apache.camel.impl.ScheduledPollConsumer.doRun(ScheduledPollConsumer.java:174) [camel-core-2.23.0.jar:2.23.0] at org.apache.camel.impl.ScheduledPollConsumer.run(ScheduledPollConsumer.java:101) [camel-core-2.23.0.jar:2.23.0] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_201] at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [na:1.8.0_201] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [na:1.8.0_201] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [na:1.8.0_201] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_201] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_201] at java.lang.Thread.run(Thread.java:748) [na:1.8.0_201] {code} Here i provide some basic *working code *for transforming the provided avro file to json {code:java} private static Iterator toJsonIterator(File file) throws IOException { return new DataFileReader<>(file, new Gene
[jira] [Updated] (CAMEL-13737) [AVRO] java.lang.ArrayIndexOutOfBoundsException: -40
[ https://issues.apache.org/jira/browse/CAMEL-13737?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] michael elbaz updated CAMEL-13737: -- Description: When i try to deserialize some avro file like provided i got java.lang.ArrayIndexOutOfBoundsException: -40, i also didn't understand the camel component it doesn't put the schema in the generated avro file it should not ? The route: {code:java} public class AvroRoute extends RouteBuilder { @Override public void configure() throws Exception { from("file:?noop=true&delay=3&initialDelay=0") .unmarshal().avro("referential.product.v2.NationalSalePricesBV1") ; } } {code} The stackTrace: {code:java} Message History --- RouteId ProcessorId Processor Elapsed (ms) [route1] [route1] [file://D:/java/tests/avro/src/main/resources/in?delay=3&initialDelay=0&noo] [34] [route1] [unmarshal1] [unmarshal[org.apache.camel.model.dataformat.AvroDataFormat@2394b9c7] ] [30] Stacktrace --- java.lang.ArrayIndexOutOfBoundsException: -40 at org.apache.avro.io.parsing.Symbol$Alternative.getSymbol(Symbol.java:424) ~[avro-1.8.2.jar:1.8.2] at org.apache.avro.io.ResolvingDecoder.doAction(ResolvingDecoder.java:290) ~[avro-1.8.2.jar:1.8.2] at org.apache.avro.io.parsing.Parser.advance(Parser.java:88) ~[avro-1.8.2.jar:1.8.2] at org.apache.avro.io.ResolvingDecoder.readIndex(ResolvingDecoder.java:267) ~[avro-1.8.2.jar:1.8.2] at org.apache.avro.generic.GenericDatumReader.readWithoutConversion(GenericDatumReader.java:179) ~[avro-1.8.2.jar:1.8.2] at org.apache.avro.specific.SpecificDatumReader.readField(SpecificDatumReader.java:116) ~[avro-1.8.2.jar:1.8.2] at org.apache.avro.generic.GenericDatumReader.readRecord(GenericDatumReader.java:222) ~[avro-1.8.2.jar:1.8.2] at org.apache.avro.generic.GenericDatumReader.readWithoutConversion(GenericDatumReader.java:175) ~[avro-1.8.2.jar:1.8.2] at org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:153) ~[avro-1.8.2.jar:1.8.2] at org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:145) ~[avro-1.8.2.jar:1.8.2] at org.apache.camel.dataformat.avro.AvroDataFormat.unmarshal(AvroDataFormat.java:148) ~[camel-avro-2.23.0.jar:2.23.0] at org.apache.camel.processor.UnmarshalProcessor.process(UnmarshalProcessor.java:69) ~[camel-core-2.23.0.jar:2.23.0] at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:548) ~[camel-core-2.23.0.jar:2.23.0] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) [camel-core-2.23.0.jar:2.23.0] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) [camel-core-2.23.0.jar:2.23.0] at org.apache.camel.component.file.GenericFileConsumer.processExchange(GenericFileConsumer.java:454) [camel-core-2.23.0.jar:2.23.0] at org.apache.camel.component.file.GenericFileConsumer.processBatch(GenericFileConsumer.java:223) [camel-core-2.23.0.jar:2.23.0] at org.apache.camel.component.file.GenericFileConsumer.poll(GenericFileConsumer.java:187) [camel-core-2.23.0.jar:2.23.0] at org.apache.camel.impl.ScheduledPollConsumer.doRun(ScheduledPollConsumer.java:174) [camel-core-2.23.0.jar:2.23.0] at org.apache.camel.impl.ScheduledPollConsumer.run(ScheduledPollConsumer.java:101) [camel-core-2.23.0.jar:2.23.0] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_201] at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [na:1.8.0_201] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [na:1.8.0_201] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [na:1.8.0_201] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_201] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_201] at java.lang.Thread.run(Thread.java:748) [na:1.8.0_201] {code} Here i provide some basic *working code* for transforming the provided avro file to json {code:java} private static Iterator toJsonIterator(File file) throws IOException { return new DataFileReader<>(file, new Gene
[jira] [Updated] (CAMEL-13737) [AVRO] java.lang.ArrayIndexOutOfBoundsException: -40
[ https://issues.apache.org/jira/browse/CAMEL-13737?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] michael elbaz updated CAMEL-13737: -- Description: When i try to deserialize some avro file like provided i got java.lang.ArrayIndexOutOfBoundsException: -40, i also didn't understand the camel component it doesn't put the schema in the generated avro file it should not ? {code} The route: {code:java} public class AvroRoute extends RouteBuilder { @Override public void configure() throws Exception { from("file:?noop=true&delay=3&initialDelay=0") .unmarshal().avro("referential.product.v2.NationalSalePricesBV1") ; } } {code} The stackTrace: {code:java} Message History --- RouteId ProcessorId Processor Elapsed (ms) [route1] [route1] [file://D:/java/tests/avro/src/main/resources/in?delay=3&initialDelay=0&noo] [34] [route1] [unmarshal1] [unmarshal[org.apache.camel.model.dataformat.AvroDataFormat@2394b9c7] ] [30] Stacktrace --- java.lang.ArrayIndexOutOfBoundsException: -40 at org.apache.avro.io.parsing.Symbol$Alternative.getSymbol(Symbol.java:424) ~[avro-1.8.2.jar:1.8.2] at org.apache.avro.io.ResolvingDecoder.doAction(ResolvingDecoder.java:290) ~[avro-1.8.2.jar:1.8.2] at org.apache.avro.io.parsing.Parser.advance(Parser.java:88) ~[avro-1.8.2.jar:1.8.2] at org.apache.avro.io.ResolvingDecoder.readIndex(ResolvingDecoder.java:267) ~[avro-1.8.2.jar:1.8.2] at org.apache.avro.generic.GenericDatumReader.readWithoutConversion(GenericDatumReader.java:179) ~[avro-1.8.2.jar:1.8.2] at org.apache.avro.specific.SpecificDatumReader.readField(SpecificDatumReader.java:116) ~[avro-1.8.2.jar:1.8.2] at org.apache.avro.generic.GenericDatumReader.readRecord(GenericDatumReader.java:222) ~[avro-1.8.2.jar:1.8.2] at org.apache.avro.generic.GenericDatumReader.readWithoutConversion(GenericDatumReader.java:175) ~[avro-1.8.2.jar:1.8.2] at org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:153) ~[avro-1.8.2.jar:1.8.2] at org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:145) ~[avro-1.8.2.jar:1.8.2] at org.apache.camel.dataformat.avro.AvroDataFormat.unmarshal(AvroDataFormat.java:148) ~[camel-avro-2.23.0.jar:2.23.0] at org.apache.camel.processor.UnmarshalProcessor.process(UnmarshalProcessor.java:69) ~[camel-core-2.23.0.jar:2.23.0] at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:548) ~[camel-core-2.23.0.jar:2.23.0] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) [camel-core-2.23.0.jar:2.23.0] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) [camel-core-2.23.0.jar:2.23.0] at org.apache.camel.component.file.GenericFileConsumer.processExchange(GenericFileConsumer.java:454) [camel-core-2.23.0.jar:2.23.0] at org.apache.camel.component.file.GenericFileConsumer.processBatch(GenericFileConsumer.java:223) [camel-core-2.23.0.jar:2.23.0] at org.apache.camel.component.file.GenericFileConsumer.poll(GenericFileConsumer.java:187) [camel-core-2.23.0.jar:2.23.0] at org.apache.camel.impl.ScheduledPollConsumer.doRun(ScheduledPollConsumer.java:174) [camel-core-2.23.0.jar:2.23.0] at org.apache.camel.impl.ScheduledPollConsumer.run(ScheduledPollConsumer.java:101) [camel-core-2.23.0.jar:2.23.0] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_201] at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [na:1.8.0_201] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [na:1.8.0_201] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [na:1.8.0_201] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_201] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_201] at java.lang.Thread.run(Thread.java:748) [na:1.8.0_201] {code} Here i provide some basic *working code *for transforming the provided avro file to json {code:java} private static Iterator toJsonIterator(File file) throws IOException { return new DataFileReader<>(file, n
[jira] [Updated] (CAMEL-13737) [AVRO] java.lang.ArrayIndexOutOfBoundsException: -40
[ https://issues.apache.org/jira/browse/CAMEL-13737?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] michael elbaz updated CAMEL-13737: -- Description: When i try to deserialize some avro file like provided i got java.lang.ArrayIndexOutOfBoundsException: -40, i also didn't understand the camel component it doesn't put the schema in the generated avro file it should not ? Some basic working code for transforming the provided avro file to json {code:java} private static Iterator toJsonIterator(File file) throws IOException { return new DataFileReader<>(file, new GenericDatumReader<>()); } {code} The route: {code:java} public class AvroRoute extends RouteBuilder { @Override public void configure() throws Exception { from("file:?noop=true&delay=3&initialDelay=0") .unmarshal().avro("referential.product.v2.NationalSalePricesBV1") ; } } {code} The stackTrace: {code:java} Message History --- RouteId ProcessorId Processor Elapsed (ms) [route1] [route1] [file://D:/java/tests/avro/src/main/resources/in?delay=3&initialDelay=0&noo] [34] [route1] [unmarshal1] [unmarshal[org.apache.camel.model.dataformat.AvroDataFormat@2394b9c7] ] [30] Stacktrace --- java.lang.ArrayIndexOutOfBoundsException: -40 at org.apache.avro.io.parsing.Symbol$Alternative.getSymbol(Symbol.java:424) ~[avro-1.8.2.jar:1.8.2] at org.apache.avro.io.ResolvingDecoder.doAction(ResolvingDecoder.java:290) ~[avro-1.8.2.jar:1.8.2] at org.apache.avro.io.parsing.Parser.advance(Parser.java:88) ~[avro-1.8.2.jar:1.8.2] at org.apache.avro.io.ResolvingDecoder.readIndex(ResolvingDecoder.java:267) ~[avro-1.8.2.jar:1.8.2] at org.apache.avro.generic.GenericDatumReader.readWithoutConversion(GenericDatumReader.java:179) ~[avro-1.8.2.jar:1.8.2] at org.apache.avro.specific.SpecificDatumReader.readField(SpecificDatumReader.java:116) ~[avro-1.8.2.jar:1.8.2] at org.apache.avro.generic.GenericDatumReader.readRecord(GenericDatumReader.java:222) ~[avro-1.8.2.jar:1.8.2] at org.apache.avro.generic.GenericDatumReader.readWithoutConversion(GenericDatumReader.java:175) ~[avro-1.8.2.jar:1.8.2] at org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:153) ~[avro-1.8.2.jar:1.8.2] at org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:145) ~[avro-1.8.2.jar:1.8.2] at org.apache.camel.dataformat.avro.AvroDataFormat.unmarshal(AvroDataFormat.java:148) ~[camel-avro-2.23.0.jar:2.23.0] at org.apache.camel.processor.UnmarshalProcessor.process(UnmarshalProcessor.java:69) ~[camel-core-2.23.0.jar:2.23.0] at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:548) ~[camel-core-2.23.0.jar:2.23.0] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) [camel-core-2.23.0.jar:2.23.0] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) [camel-core-2.23.0.jar:2.23.0] at org.apache.camel.component.file.GenericFileConsumer.processExchange(GenericFileConsumer.java:454) [camel-core-2.23.0.jar:2.23.0] at org.apache.camel.component.file.GenericFileConsumer.processBatch(GenericFileConsumer.java:223) [camel-core-2.23.0.jar:2.23.0] at org.apache.camel.component.file.GenericFileConsumer.poll(GenericFileConsumer.java:187) [camel-core-2.23.0.jar:2.23.0] at org.apache.camel.impl.ScheduledPollConsumer.doRun(ScheduledPollConsumer.java:174) [camel-core-2.23.0.jar:2.23.0] at org.apache.camel.impl.ScheduledPollConsumer.run(ScheduledPollConsumer.java:101) [camel-core-2.23.0.jar:2.23.0] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_201] at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [na:1.8.0_201] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [na:1.8.0_201] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [na:1.8.0_201] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_201] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_201] at java.lang.Thread.run(Thread.java:748) [na:1.8.0_2
[jira] [Updated] (CAMEL-13737) [AVRO] java.lang.ArrayIndexOutOfBoundsException: -40
[ https://issues.apache.org/jira/browse/CAMEL-13737?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] michael elbaz updated CAMEL-13737: -- Description: When i try to deserialize some avro file like provided i got java.lang.ArrayIndexOutOfBoundsException: -40, i also didn't understand the camel component it doesn't put the schema in the generated avro file it should not ? This code work for transforming the provided avro file to json {code:java} private static Iterator toJsonIterator(File file) throws IOException { return new DataFileReader<>(file, new GenericDatumReader<>()); } {code} The route: {code:java} public class AvroRoute extends RouteBuilder { @Override public void configure() throws Exception { from("file:?noop=true&delay=3&initialDelay=0") .unmarshal().avro("referential.product.v2.NationalSalePricesBV1") ; } } {code} The stackTrace: {code:java} Message History --- RouteId ProcessorId Processor Elapsed (ms) [route1] [route1] [file://D:/java/tests/avro/src/main/resources/in?delay=3&initialDelay=0&noo] [34] [route1] [unmarshal1] [unmarshal[org.apache.camel.model.dataformat.AvroDataFormat@2394b9c7] ] [30] Stacktrace --- java.lang.ArrayIndexOutOfBoundsException: -40 at org.apache.avro.io.parsing.Symbol$Alternative.getSymbol(Symbol.java:424) ~[avro-1.8.2.jar:1.8.2] at org.apache.avro.io.ResolvingDecoder.doAction(ResolvingDecoder.java:290) ~[avro-1.8.2.jar:1.8.2] at org.apache.avro.io.parsing.Parser.advance(Parser.java:88) ~[avro-1.8.2.jar:1.8.2] at org.apache.avro.io.ResolvingDecoder.readIndex(ResolvingDecoder.java:267) ~[avro-1.8.2.jar:1.8.2] at org.apache.avro.generic.GenericDatumReader.readWithoutConversion(GenericDatumReader.java:179) ~[avro-1.8.2.jar:1.8.2] at org.apache.avro.specific.SpecificDatumReader.readField(SpecificDatumReader.java:116) ~[avro-1.8.2.jar:1.8.2] at org.apache.avro.generic.GenericDatumReader.readRecord(GenericDatumReader.java:222) ~[avro-1.8.2.jar:1.8.2] at org.apache.avro.generic.GenericDatumReader.readWithoutConversion(GenericDatumReader.java:175) ~[avro-1.8.2.jar:1.8.2] at org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:153) ~[avro-1.8.2.jar:1.8.2] at org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:145) ~[avro-1.8.2.jar:1.8.2] at org.apache.camel.dataformat.avro.AvroDataFormat.unmarshal(AvroDataFormat.java:148) ~[camel-avro-2.23.0.jar:2.23.0] at org.apache.camel.processor.UnmarshalProcessor.process(UnmarshalProcessor.java:69) ~[camel-core-2.23.0.jar:2.23.0] at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:548) ~[camel-core-2.23.0.jar:2.23.0] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) [camel-core-2.23.0.jar:2.23.0] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) [camel-core-2.23.0.jar:2.23.0] at org.apache.camel.component.file.GenericFileConsumer.processExchange(GenericFileConsumer.java:454) [camel-core-2.23.0.jar:2.23.0] at org.apache.camel.component.file.GenericFileConsumer.processBatch(GenericFileConsumer.java:223) [camel-core-2.23.0.jar:2.23.0] at org.apache.camel.component.file.GenericFileConsumer.poll(GenericFileConsumer.java:187) [camel-core-2.23.0.jar:2.23.0] at org.apache.camel.impl.ScheduledPollConsumer.doRun(ScheduledPollConsumer.java:174) [camel-core-2.23.0.jar:2.23.0] at org.apache.camel.impl.ScheduledPollConsumer.run(ScheduledPollConsumer.java:101) [camel-core-2.23.0.jar:2.23.0] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_201] at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [na:1.8.0_201] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [na:1.8.0_201] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [na:1.8.0_201] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_201] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_201] at java.lang.Thread.run(Thread.java:748) [na:1.8.0_201] {code
[jira] [Updated] (CAMEL-13737) [AVRO] java.lang.ArrayIndexOutOfBoundsException: -40
[ https://issues.apache.org/jira/browse/CAMEL-13737?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] michael elbaz updated CAMEL-13737: -- Attachment: packages.zip > [AVRO] java.lang.ArrayIndexOutOfBoundsException: -40 > > > Key: CAMEL-13737 > URL: https://issues.apache.org/jira/browse/CAMEL-13737 > Project: Camel > Issue Type: Bug > Components: camel-avro >Affects Versions: 2.24.1 >Reporter: michael elbaz >Priority: Minor > Attachments: avro1.avro, packages.zip > > > When i try to deserialize some avro file like provided i got > java.lang.ArrayIndexOutOfBoundsException: -40, i also didn't understand the > camel component it doesn't put the schema in the generated avro file it > should not ? > This code work for transforming the provided avro file to json > {code:java} > private static Iterator toJsonIterator(File file) throws IOException { > return new DataFileReader<>(file, new GenericDatumReader<>()); > } > {code} > The route: > {code:java} > public class AvroRoute extends RouteBuilder { > @Override > public void configure() throws Exception { > > from("file:D:/java/tests/avro/src/main/resources/in?noop=true&delay=3&initialDelay=0") > > .unmarshal().avro("referential.product.v2.NationalSalePricesBV1") > ; > } > } > {code} > The stackTrace: > {code:java} > Message History > --- > RouteId ProcessorId Processor > Elapsed (ms) > [route1] [route1] > [file://D:/java/tests/avro/src/main/resources/in?delay=3&initialDelay=0&noo] > [34] > [route1] [unmarshal1] > [unmarshal[org.apache.camel.model.dataformat.AvroDataFormat@2394b9c7] > ] [30] > Stacktrace > --- > java.lang.ArrayIndexOutOfBoundsException: -40 > at > org.apache.avro.io.parsing.Symbol$Alternative.getSymbol(Symbol.java:424) > ~[avro-1.8.2.jar:1.8.2] > at > org.apache.avro.io.ResolvingDecoder.doAction(ResolvingDecoder.java:290) > ~[avro-1.8.2.jar:1.8.2] > at org.apache.avro.io.parsing.Parser.advance(Parser.java:88) > ~[avro-1.8.2.jar:1.8.2] > at > org.apache.avro.io.ResolvingDecoder.readIndex(ResolvingDecoder.java:267) > ~[avro-1.8.2.jar:1.8.2] > at > org.apache.avro.generic.GenericDatumReader.readWithoutConversion(GenericDatumReader.java:179) > ~[avro-1.8.2.jar:1.8.2] > at > org.apache.avro.specific.SpecificDatumReader.readField(SpecificDatumReader.java:116) > ~[avro-1.8.2.jar:1.8.2] > at > org.apache.avro.generic.GenericDatumReader.readRecord(GenericDatumReader.java:222) > ~[avro-1.8.2.jar:1.8.2] > at > org.apache.avro.generic.GenericDatumReader.readWithoutConversion(GenericDatumReader.java:175) > ~[avro-1.8.2.jar:1.8.2] > at > org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:153) > ~[avro-1.8.2.jar:1.8.2] > at > org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:145) > ~[avro-1.8.2.jar:1.8.2] > at > org.apache.camel.dataformat.avro.AvroDataFormat.unmarshal(AvroDataFormat.java:148) > ~[camel-avro-2.23.0.jar:2.23.0] > at > org.apache.camel.processor.UnmarshalProcessor.process(UnmarshalProcessor.java:69) > ~[camel-core-2.23.0.jar:2.23.0] > at > org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:548) > ~[camel-core-2.23.0.jar:2.23.0] > at > org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) > [camel-core-2.23.0.jar:2.23.0] > at > org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) > [camel-core-2.23.0.jar:2.23.0] > at > org.apache.camel.component.file.GenericFileConsumer.processExchange(GenericFileConsumer.java:454) > [camel-core-2.23.0.jar:2.23.0] > at > org.apache.camel.component.file.GenericFileConsumer.processBatch(GenericFileConsumer.java:223) > [camel-core-2.23.0.jar:2.23.0] > at > org.apache.camel.component.file.GenericFileConsumer.poll(GenericFileConsumer.java:187) > [camel-core-2.23.0.jar:2.23.0] > at > org.apache.camel.impl.ScheduledPollConsumer.doRun(ScheduledPollConsumer.java:174) > [camel-core-2.23.0.jar:2.23.0] > at > org.apache.camel.impl.ScheduledPollConsumer.run(ScheduledPollConsumer.java:101) > [camel-core-2.23.0.jar:2.23.0] > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > [na:1.8.0_201] >
[jira] [Updated] (CAMEL-13737) [AVRO] java.lang.ArrayIndexOutOfBoundsException: -40
[ https://issues.apache.org/jira/browse/CAMEL-13737?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] michael elbaz updated CAMEL-13737: -- Description: When i try to deserialize some avro file like provided i got java.lang.ArrayIndexOutOfBoundsException: -40, i also didn't understand the camel component it doesn't put the schema in the generated avro file it should not ? This code work for transforming the provided avro file to json {code:java} private static Iterator toJsonIterator(File file) throws IOException { return new DataFileReader<>(file, new GenericDatumReader<>()); } {code} The route: {code:java} public class AvroRoute extends RouteBuilder { @Override public void configure() throws Exception { from("file:D:/java/tests/avro/src/main/resources/in?noop=true&delay=3&initialDelay=0") .unmarshal().avro("referential.product.v2.NationalSalePricesBV1") ; } } {code} The stackTrace: {code:java} Message History --- RouteId ProcessorId Processor Elapsed (ms) [route1] [route1] [file://D:/java/tests/avro/src/main/resources/in?delay=3&initialDelay=0&noo] [34] [route1] [unmarshal1] [unmarshal[org.apache.camel.model.dataformat.AvroDataFormat@2394b9c7] ] [30] Stacktrace --- java.lang.ArrayIndexOutOfBoundsException: -40 at org.apache.avro.io.parsing.Symbol$Alternative.getSymbol(Symbol.java:424) ~[avro-1.8.2.jar:1.8.2] at org.apache.avro.io.ResolvingDecoder.doAction(ResolvingDecoder.java:290) ~[avro-1.8.2.jar:1.8.2] at org.apache.avro.io.parsing.Parser.advance(Parser.java:88) ~[avro-1.8.2.jar:1.8.2] at org.apache.avro.io.ResolvingDecoder.readIndex(ResolvingDecoder.java:267) ~[avro-1.8.2.jar:1.8.2] at org.apache.avro.generic.GenericDatumReader.readWithoutConversion(GenericDatumReader.java:179) ~[avro-1.8.2.jar:1.8.2] at org.apache.avro.specific.SpecificDatumReader.readField(SpecificDatumReader.java:116) ~[avro-1.8.2.jar:1.8.2] at org.apache.avro.generic.GenericDatumReader.readRecord(GenericDatumReader.java:222) ~[avro-1.8.2.jar:1.8.2] at org.apache.avro.generic.GenericDatumReader.readWithoutConversion(GenericDatumReader.java:175) ~[avro-1.8.2.jar:1.8.2] at org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:153) ~[avro-1.8.2.jar:1.8.2] at org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:145) ~[avro-1.8.2.jar:1.8.2] at org.apache.camel.dataformat.avro.AvroDataFormat.unmarshal(AvroDataFormat.java:148) ~[camel-avro-2.23.0.jar:2.23.0] at org.apache.camel.processor.UnmarshalProcessor.process(UnmarshalProcessor.java:69) ~[camel-core-2.23.0.jar:2.23.0] at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:548) ~[camel-core-2.23.0.jar:2.23.0] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) [camel-core-2.23.0.jar:2.23.0] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) [camel-core-2.23.0.jar:2.23.0] at org.apache.camel.component.file.GenericFileConsumer.processExchange(GenericFileConsumer.java:454) [camel-core-2.23.0.jar:2.23.0] at org.apache.camel.component.file.GenericFileConsumer.processBatch(GenericFileConsumer.java:223) [camel-core-2.23.0.jar:2.23.0] at org.apache.camel.component.file.GenericFileConsumer.poll(GenericFileConsumer.java:187) [camel-core-2.23.0.jar:2.23.0] at org.apache.camel.impl.ScheduledPollConsumer.doRun(ScheduledPollConsumer.java:174) [camel-core-2.23.0.jar:2.23.0] at org.apache.camel.impl.ScheduledPollConsumer.run(ScheduledPollConsumer.java:101) [camel-core-2.23.0.jar:2.23.0] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_201] at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [na:1.8.0_201] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [na:1.8.0_201] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [na:1.8.0_201] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_201] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_201] at java.lang.Thread.
[jira] [Updated] (CAMEL-13737) [AVRO] java.lang.ArrayIndexOutOfBoundsException: -40
[ https://issues.apache.org/jira/browse/CAMEL-13737?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] michael elbaz updated CAMEL-13737: -- Description: When i try to deserialize some avro file like provided i got java.lang.ArrayIndexOutOfBoundsException: -40, i also didn't understand the camel component it doesn't put the schema in the generated avro file it should not ? This code work for transforming the provided avro file to json {code:java} private static Iterator toJsonIterator(File file) throws IOException { return new DataFileReader<>(file, new GenericDatumReader<>()); } {code} The stackTrace: {code:java} Message History --- RouteId ProcessorId Processor Elapsed (ms) [route1] [route1] [file://D:/java/tests/avro/src/main/resources/in?delay=3&initialDelay=0&noo] [34] [route1] [unmarshal1] [unmarshal[org.apache.camel.model.dataformat.AvroDataFormat@2394b9c7] ] [30] Stacktrace --- java.lang.ArrayIndexOutOfBoundsException: -40 at org.apache.avro.io.parsing.Symbol$Alternative.getSymbol(Symbol.java:424) ~[avro-1.8.2.jar:1.8.2] at org.apache.avro.io.ResolvingDecoder.doAction(ResolvingDecoder.java:290) ~[avro-1.8.2.jar:1.8.2] at org.apache.avro.io.parsing.Parser.advance(Parser.java:88) ~[avro-1.8.2.jar:1.8.2] at org.apache.avro.io.ResolvingDecoder.readIndex(ResolvingDecoder.java:267) ~[avro-1.8.2.jar:1.8.2] at org.apache.avro.generic.GenericDatumReader.readWithoutConversion(GenericDatumReader.java:179) ~[avro-1.8.2.jar:1.8.2] at org.apache.avro.specific.SpecificDatumReader.readField(SpecificDatumReader.java:116) ~[avro-1.8.2.jar:1.8.2] at org.apache.avro.generic.GenericDatumReader.readRecord(GenericDatumReader.java:222) ~[avro-1.8.2.jar:1.8.2] at org.apache.avro.generic.GenericDatumReader.readWithoutConversion(GenericDatumReader.java:175) ~[avro-1.8.2.jar:1.8.2] at org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:153) ~[avro-1.8.2.jar:1.8.2] at org.apache.avro.generic.GenericDatumReader.read(GenericDatumReader.java:145) ~[avro-1.8.2.jar:1.8.2] at org.apache.camel.dataformat.avro.AvroDataFormat.unmarshal(AvroDataFormat.java:148) ~[camel-avro-2.23.0.jar:2.23.0] at org.apache.camel.processor.UnmarshalProcessor.process(UnmarshalProcessor.java:69) ~[camel-core-2.23.0.jar:2.23.0] at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:548) ~[camel-core-2.23.0.jar:2.23.0] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) [camel-core-2.23.0.jar:2.23.0] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) [camel-core-2.23.0.jar:2.23.0] at org.apache.camel.component.file.GenericFileConsumer.processExchange(GenericFileConsumer.java:454) [camel-core-2.23.0.jar:2.23.0] at org.apache.camel.component.file.GenericFileConsumer.processBatch(GenericFileConsumer.java:223) [camel-core-2.23.0.jar:2.23.0] at org.apache.camel.component.file.GenericFileConsumer.poll(GenericFileConsumer.java:187) [camel-core-2.23.0.jar:2.23.0] at org.apache.camel.impl.ScheduledPollConsumer.doRun(ScheduledPollConsumer.java:174) [camel-core-2.23.0.jar:2.23.0] at org.apache.camel.impl.ScheduledPollConsumer.run(ScheduledPollConsumer.java:101) [camel-core-2.23.0.jar:2.23.0] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_201] at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [na:1.8.0_201] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [na:1.8.0_201] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [na:1.8.0_201] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_201] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_201] at java.lang.Thread.run(Thread.java:748) [na:1.8.0_201] {code} was: When i try to deserialize some avro file like provided i got java.lang.ArrayIndexOutOfBoundsException: -40, i also didn't understand the camel component it doesn't put the schema in the generated avro file it should not ? This code work for transforming the provided avro file to json
[jira] [Commented] (CAMEL-13737) [AVRO] java.lang.ArrayIndexOutOfBoundsException: -40
[ https://issues.apache.org/jira/browse/CAMEL-13737?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16881383#comment-16881383 ] michael elbaz commented on CAMEL-13737: --- Hello [~davsclaus] SO what that mean ? > [AVRO] java.lang.ArrayIndexOutOfBoundsException: -40 > > > Key: CAMEL-13737 > URL: https://issues.apache.org/jira/browse/CAMEL-13737 > Project: Camel > Issue Type: Bug > Components: camel-avro >Affects Versions: 2.24.1 >Reporter: michael elbaz >Priority: Minor > Attachments: avro1.avro > > > When i try to deserialize some avro file like provided i got > java.lang.ArrayIndexOutOfBoundsException: -40, i also didn't understand the > camel component it doesn't put the schema in the generated avro file it > should not ? > This code work for transforming the provided avro file to json > {code:java} > private static Iterator toJsonIterator(File file) throws IOException { > return new DataFileReader<>(file, new GenericDatumReader<>()); > } > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (CAMEL-13741) Map to Iterable converter regression
[ https://issues.apache.org/jira/browse/CAMEL-13741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16881361#comment-16881361 ] Antoine DESSAIGNE commented on CAMEL-13741: --- Sure, i'll do that. Against which branch ? master, camel-2.x or another one ? > Map to Iterable converter regression > > > Key: CAMEL-13741 > URL: https://issues.apache.org/jira/browse/CAMEL-13741 > Project: Camel > Issue Type: Improvement > Components: camel-core >Affects Versions: 2.20.0 >Reporter: Antoine DESSAIGNE >Priority: Major > > When converting a {{Map}} to an {{Iterable}} the results is no longer the > same since CAMEL-11379. > Given the following context > {code} > > http://camel.apache.org/schema/spring";> > > > > [A: 'aa', B: 'bb', C: 'cc', D: 'dd'] > > > > ${body} > > > > > {code} > It produces 4 log messages in camel 2.18.3 using the converter > {{CollectionConverter.toSet(java.util.Map)}}. Using camel 2.24.1 it > produces only one message containing the whole list. This is due to > {{ObjectConverterOptimised}} calling > {{ObjectHelper.createIterable(java.lang.Object)}} which has a fallback to > {{Collections.singletonList(value)}} thus producing a single entry with the > whole Map. > The fix is probably to add in > {{ObjectHelper.createIterable(java.lang.Object)}} the following code > {code} > if (value instanceof Map) { > return ((Map)value).entrySet(); > } > {code} > but I would like to know what you think about it before doing a pull request. > Thanks -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (CAMEL-13737) [AVRO] java.lang.ArrayIndexOutOfBoundsException: -40
[ https://issues.apache.org/jira/browse/CAMEL-13737?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Ibsen updated CAMEL-13737: Priority: Minor (was: Major) > [AVRO] java.lang.ArrayIndexOutOfBoundsException: -40 > > > Key: CAMEL-13737 > URL: https://issues.apache.org/jira/browse/CAMEL-13737 > Project: Camel > Issue Type: Bug > Components: camel-avro >Affects Versions: 2.24.1 >Reporter: michael elbaz >Priority: Minor > Attachments: avro1.avro > > > When i try to deserialize some avro file like provided i got > java.lang.ArrayIndexOutOfBoundsException: -40, i also didn't understand the > camel component it doesn't put the schema in the generated avro file it > should not ? > This code work for transforming the provided avro file to json > {code:java} > private static Iterator toJsonIterator(File file) throws IOException { > return new DataFileReader<>(file, new GenericDatumReader<>()); > } > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (CAMEL-13737) [AVRO] java.lang.ArrayIndexOutOfBoundsException: -40
[ https://issues.apache.org/jira/browse/CAMEL-13737?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16881360#comment-16881360 ] Claus Ibsen commented on CAMEL-13737: - Also if you get a stracktrace, then post the stacktrace, and provide more details. And if you can a sample project that demonstrates the problem, and details how to run the example. > [AVRO] java.lang.ArrayIndexOutOfBoundsException: -40 > > > Key: CAMEL-13737 > URL: https://issues.apache.org/jira/browse/CAMEL-13737 > Project: Camel > Issue Type: Bug > Components: camel-avro >Affects Versions: 2.24.1 >Reporter: michael elbaz >Priority: Major > Attachments: avro1.avro > > > When i try to deserialize some avro file like provided i got > java.lang.ArrayIndexOutOfBoundsException: -40, i also didn't understand the > camel component it doesn't put the schema in the generated avro file it > should not ? > This code work for transforming the provided avro file to json > {code:java} > private static Iterator toJsonIterator(File file) throws IOException { > return new DataFileReader<>(file, new GenericDatumReader<>()); > } > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (CAMEL-13737) [AVRO] java.lang.ArrayIndexOutOfBoundsException: -40
[ https://issues.apache.org/jira/browse/CAMEL-13737?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16881359#comment-16881359 ] Claus Ibsen commented on CAMEL-13737: - Next time ask on the user mailing list or SO first for getting help. > [AVRO] java.lang.ArrayIndexOutOfBoundsException: -40 > > > Key: CAMEL-13737 > URL: https://issues.apache.org/jira/browse/CAMEL-13737 > Project: Camel > Issue Type: Bug > Components: camel-avro >Affects Versions: 2.24.1 >Reporter: michael elbaz >Priority: Major > Attachments: avro1.avro > > > When i try to deserialize some avro file like provided i got > java.lang.ArrayIndexOutOfBoundsException: -40, i also didn't understand the > camel component it doesn't put the schema in the generated avro file it > should not ? > This code work for transforming the provided avro file to json > {code:java} > private static Iterator toJsonIterator(File file) throws IOException { > return new DataFileReader<>(file, new GenericDatumReader<>()); > } > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (CAMEL-13738) parent/pom.xml - use dash in version properties
[ https://issues.apache.org/jira/browse/CAMEL-13738?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Ibsen updated CAMEL-13738: Fix Version/s: 3.0.0 > parent/pom.xml - use dash in version properties > --- > > Key: CAMEL-13738 > URL: https://issues.apache.org/jira/browse/CAMEL-13738 > Project: Camel > Issue Type: Task > Components: build system >Reporter: Claus Ibsen >Priority: Minor > Fix For: 3.0.0 > > > We should only use dashes in the names, eg > 2.2.5 > 2.2.5 > 3.0.0 > > 3.0.1-b04 > > 3.0.1-b10 > Should be > javax-el-version and so forth. Also check if all of them are still in use? > Contributions is welcome -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (CAMEL-13738) parent/pom.xml - use dash in version properties
[ https://issues.apache.org/jira/browse/CAMEL-13738?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Ibsen updated CAMEL-13738: Priority: Minor (was: Major) > parent/pom.xml - use dash in version properties > --- > > Key: CAMEL-13738 > URL: https://issues.apache.org/jira/browse/CAMEL-13738 > Project: Camel > Issue Type: Task > Components: build system >Reporter: Claus Ibsen >Priority: Minor > > We should only use dashes in the names, eg > 2.2.5 > 2.2.5 > 3.0.0 > > 3.0.1-b04 > > 3.0.1-b10 > Should be > javax-el-version and so forth. Also check if all of them are still in use? > Contributions is welcome -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (CAMEL-13740) Document for XStream JSON not proper
[ https://issues.apache.org/jira/browse/CAMEL-13740?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Ibsen updated CAMEL-13740: Priority: Minor (was: Major) > Document for XStream JSON not proper > > > Key: CAMEL-13740 > URL: https://issues.apache.org/jira/browse/CAMEL-13740 > Project: Camel > Issue Type: Improvement > Components: documentation >Affects Versions: 3.0.0-M3 >Reporter: Hemang Ajmera >Priority: Minor > > The document of Json Xtream > [https://github.com/apache/camel/blob/master/components/camel-xstream/src/main/docs/json-xstream-dataformat.adoc] > is exactly identical to Xstream > [https://github.com/apache/camel/blob/master/components/camel-xstream/src/main/docs/xstream-dataformat.adoc.] > > Although both uses same component, but JSON xtream document should have > document on how to convert JSON to object and vis versa. But it also talks > about XML. This needs to be improved. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (CAMEL-13740) Document for XStream JSON not proper
[ https://issues.apache.org/jira/browse/CAMEL-13740?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16881358#comment-16881358 ] Claus Ibsen commented on CAMEL-13740: - See the unit tests for examples > Document for XStream JSON not proper > > > Key: CAMEL-13740 > URL: https://issues.apache.org/jira/browse/CAMEL-13740 > Project: Camel > Issue Type: Improvement > Components: documentation >Affects Versions: 3.0.0-M3 >Reporter: Hemang Ajmera >Priority: Minor > > The document of Json Xtream > [https://github.com/apache/camel/blob/master/components/camel-xstream/src/main/docs/json-xstream-dataformat.adoc] > is exactly identical to Xstream > [https://github.com/apache/camel/blob/master/components/camel-xstream/src/main/docs/xstream-dataformat.adoc.] > > Although both uses same component, but JSON xtream document should have > document on how to convert JSON to object and vis versa. But it also talks > about XML. This needs to be improved. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (CAMEL-13740) Document for XStream JSON not proper
[ https://issues.apache.org/jira/browse/CAMEL-13740?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16881357#comment-16881357 ] Claus Ibsen commented on CAMEL-13740: - You are welcome to help with improving the documentation and provide a PR > Document for XStream JSON not proper > > > Key: CAMEL-13740 > URL: https://issues.apache.org/jira/browse/CAMEL-13740 > Project: Camel > Issue Type: Improvement > Components: documentation >Affects Versions: 3.0.0-M3 >Reporter: Hemang Ajmera >Priority: Major > > The document of Json Xtream > [https://github.com/apache/camel/blob/master/components/camel-xstream/src/main/docs/json-xstream-dataformat.adoc] > is exactly identical to Xstream > [https://github.com/apache/camel/blob/master/components/camel-xstream/src/main/docs/xstream-dataformat.adoc.] > > Although both uses same component, but JSON xtream document should have > document on how to convert JSON to object and vis versa. But it also talks > about XML. This needs to be improved. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (CAMEL-13741) Map to Iterable converter regression
[ https://issues.apache.org/jira/browse/CAMEL-13741?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Ibsen updated CAMEL-13741: Issue Type: Improvement (was: Bug) > Map to Iterable converter regression > > > Key: CAMEL-13741 > URL: https://issues.apache.org/jira/browse/CAMEL-13741 > Project: Camel > Issue Type: Improvement > Components: camel-core >Affects Versions: 2.20.0 >Reporter: Antoine DESSAIGNE >Priority: Major > > When converting a {{Map}} to an {{Iterable}} the results is no longer the > same since CAMEL-11379. > Given the following context > {code} > > http://camel.apache.org/schema/spring";> > > > > [A: 'aa', B: 'bb', C: 'cc', D: 'dd'] > > > > ${body} > > > > > {code} > It produces 4 log messages in camel 2.18.3 using the converter > {{CollectionConverter.toSet(java.util.Map)}}. Using camel 2.24.1 it > produces only one message containing the whole list. This is due to > {{ObjectConverterOptimised}} calling > {{ObjectHelper.createIterable(java.lang.Object)}} which has a fallback to > {{Collections.singletonList(value)}} thus producing a single entry with the > whole Map. > The fix is probably to add in > {{ObjectHelper.createIterable(java.lang.Object)}} the following code > {code} > if (value instanceof Map) { > return ((Map)value).entrySet(); > } > {code} > but I would like to know what you think about it before doing a pull request. > Thanks -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (CAMEL-13741) Map to Iterable converter regression
[ https://issues.apache.org/jira/browse/CAMEL-13741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16881356#comment-16881356 ] Claus Ibsen commented on CAMEL-13741: - Can you build an unit test in ObjectConverterTest that demonstrates this and then provide that as a PR with an attempted fix/improvement > Map to Iterable converter regression > > > Key: CAMEL-13741 > URL: https://issues.apache.org/jira/browse/CAMEL-13741 > Project: Camel > Issue Type: Bug > Components: camel-core >Affects Versions: 2.20.0 >Reporter: Antoine DESSAIGNE >Priority: Major > > When converting a {{Map}} to an {{Iterable}} the results is no longer the > same since CAMEL-11379. > Given the following context > {code} > > http://camel.apache.org/schema/spring";> > > > > [A: 'aa', B: 'bb', C: 'cc', D: 'dd'] > > > > ${body} > > > > > {code} > It produces 4 log messages in camel 2.18.3 using the converter > {{CollectionConverter.toSet(java.util.Map)}}. Using camel 2.24.1 it > produces only one message containing the whole list. This is due to > {{ObjectConverterOptimised}} calling > {{ObjectHelper.createIterable(java.lang.Object)}} which has a fallback to > {{Collections.singletonList(value)}} thus producing a single entry with the > whole Map. > The fix is probably to add in > {{ObjectHelper.createIterable(java.lang.Object)}} the following code > {code} > if (value instanceof Map) { > return ((Map)value).entrySet(); > } > {code} > but I would like to know what you think about it before doing a pull request. > Thanks -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (CAMEL-11908) camel-swagger-java to support example values
[ https://issues.apache.org/jira/browse/CAMEL-11908?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16881353#comment-16881353 ] Claus Ibsen commented on CAMEL-11908: - This ticket is about example values, there is another ticket about openapi 3 afair > camel-swagger-java to support example values > > > Key: CAMEL-11908 > URL: https://issues.apache.org/jira/browse/CAMEL-11908 > Project: Camel > Issue Type: Improvement > Components: camel-swagger >Reporter: Patrick Carney >Assignee: Claus Ibsen >Priority: Major > Fix For: 2.21.0 > > > The camel-swagger-java component does not support OpenAPI spec 3 and it's > ability to use an example value for certain fields: > https://swagger.io/docs/specification/adding-examples/ > Please add support for this. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (CAMEL-11908) camel-swagger-java to support example values
[ https://issues.apache.org/jira/browse/CAMEL-11908?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Ibsen updated CAMEL-11908: Summary: camel-swagger-java to support example values (was: camel-swagger-java to support OpenAPI Spec 3 and example values) > camel-swagger-java to support example values > > > Key: CAMEL-11908 > URL: https://issues.apache.org/jira/browse/CAMEL-11908 > Project: Camel > Issue Type: Improvement > Components: camel-swagger >Reporter: Patrick Carney >Assignee: Claus Ibsen >Priority: Major > Fix For: 2.21.0 > > > The camel-swagger-java component does not support OpenAPI spec 3 and it's > ability to use an example value for certain fields: > https://swagger.io/docs/specification/adding-examples/ > Please add support for this. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (CAMEL-11908) camel-swagger-java to support OpenAPI Spec 3 and example values
[ https://issues.apache.org/jira/browse/CAMEL-11908?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16881347#comment-16881347 ] Jacek Obarymski commented on CAMEL-11908: - What is the actual status of this? The component still refuses to produce anything other than OpenApi 2.0. Any plans to support OpenApi 3.0? > camel-swagger-java to support OpenAPI Spec 3 and example values > --- > > Key: CAMEL-11908 > URL: https://issues.apache.org/jira/browse/CAMEL-11908 > Project: Camel > Issue Type: Improvement > Components: camel-swagger >Reporter: Patrick Carney >Assignee: Claus Ibsen >Priority: Major > Fix For: 2.21.0 > > > The camel-swagger-java component does not support OpenAPI spec 3 and it's > ability to use an example value for certain fields: > https://swagger.io/docs/specification/adding-examples/ > Please add support for this. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (CAMEL-13454) camel-testcontainers - Should build if no docker
[ https://issues.apache.org/jira/browse/CAMEL-13454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16881345#comment-16881345 ] Claus Ibsen commented on CAMEL-13454: - Yeah on my osx the tests are also executed, when I run mvn clean install [INFO] --- [INFO] T E S T S [INFO] --- [INFO] Running org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 30.856 s <<< FAILURE! - in org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT [ERROR] testPropertyPlaceholders(org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT) Time elapsed: 30.479 s <<< ERROR! java.lang.IllegalStateException: Could not find a valid Docker environment. Please see logs and check configuration at org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT.createContainer(ContainerAwareTestSupportIT.java:37) And I have stopped my docker, > camel-testcontainers - Should build if no docker > > > Key: CAMEL-13454 > URL: https://issues.apache.org/jira/browse/CAMEL-13454 > Project: Camel > Issue Type: Improvement >Reporter: Claus Ibsen >Assignee: Ramu >Priority: Major > Fix For: 3.0.0 > > Time Spent: 20m > Remaining Estimate: 0h > > If you run mvn clean install then the following should still pass. > [INFO] --- > [INFO] T E S T S > [INFO] --- > [INFO] Running > org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT > [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: > 31.178 s <<< FAILURE! - in > org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT > [ERROR] > testPropertyPlaceholders(org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT) > Time elapsed: 30.805 s <<< ERROR! > java.lang.IllegalStateException: Could not find a valid Docker environment. > Please see logs and check configuration > at > org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT.createContainer(ContainerAwareTestSupportIT.java:37) > [INFO] > [INFO] Results: > [INFO] > [ERROR] Errors: > [ERROR] > ContainerAwareTestSupportIT>CamelTestSupport.setUp:284->ContainerAwareTestSupport.setupResources:42->ContainerAwareTestSupport.createContainers:76->createContainer:37 > » IllegalState > [INFO] > [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0 > [INFO] > [INFO] > [INFO] --- maven-failsafe-plugin:2.22.1:verify (default) @ > camel-testcontainers --- > [INFO] > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (CAMEL-12957) camel-cxf - Swagger/OpenAPI feature should not involve the Camel route
[ https://issues.apache.org/jira/browse/CAMEL-12957?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16881259#comment-16881259 ] Freeman Fang commented on CAMEL-12957: -- [~jen...@gmx.net], great! thanks for the feedback, will mark this issue as "resolved" once we upgrade new cxf version contains the fix > camel-cxf - Swagger/OpenAPI feature should not involve the Camel route > -- > > Key: CAMEL-12957 > URL: https://issues.apache.org/jira/browse/CAMEL-12957 > Project: Camel > Issue Type: Improvement > Components: camel-cxfrs >Affects Versions: 2.22.2 >Reporter: Jens Kleine-Herzbruch >Assignee: Freeman Fang >Priority: Minor > Attachments: camel-openapi-test-swagger2feature.tar, > camel-openapi-test.zip > > > Currently, when adding Swagger2Feature or OpenApiFeature to a CXFRS endpoint, > the calls to the API descriptions go through the Camel route, ie. one has to > implement an additional Camel route in order to make those features work. > Using runAsFilter=false a call to > http://localhost:8080/services/myCamelService/openapi.json > results in a call of the Camel route with an operation "getOpenApi" > http://localhost:8080/services/myCamelServive/api-docs?url=openapi.json > results in call of the Camel route with an operation "getResource" > Using runAsFilter=true the situation improves marginally: > http://localhost:8080/services/myCamelService/openapi.json > still results in a call of the Camel route with an operation "getOpenApi" > http://localhost:8080/services/myCamelServive/api-docs?url=openapi.json > at least now shows the Swagger UI page frame but still fails to load the > actual service description since it again calls the Camel route with the > "getOpenApi" operation. > Supposedly that means the filter correctly intercepts the getResource call > but not the getOpenApi call. It would be great if this worked out of the box. > A custom implementation would still be possible by not running as a filter. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (CAMEL-13741) Map to Iterable converter regression
[ https://issues.apache.org/jira/browse/CAMEL-13741?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Antoine DESSAIGNE updated CAMEL-13741: -- Description: When converting a {{Map}} to an {{Iterable}} the results is no longer the same since CAMEL-11379. Given the following context {code} http://camel.apache.org/schema/spring";> [A: 'aa', B: 'bb', C: 'cc', D: 'dd'] ${body} {code} It produces 4 log messages in camel 2.18.3 using the converter {{CollectionConverter.toSet(java.util.Map)}}. Using camel 2.24.1 it produces only one message containing the whole list. This is due to {{ObjectConverterOptimised}} calling {{ObjectHelper.createIterable(java.lang.Object)}} which has a fallback to {{Collections.singletonList(value)}} thus producing a single entry with the whole Map. The fix is probably to add in {{ObjectHelper.createIterable(java.lang.Object)}} the following code {code} if (value instanceof Map) { return ((Map)value).entrySet(); } {code} but I would like to know what you think about it before doing a pull request. Thanks was: When converting a {{Map}} to an {{Iterable}} the results is no longer the same since CAMEL-11379. Given the following context {code} http://camel.apache.org/schema/spring";> [A: 'aa', B: 'bb', C: 'cc', D: 'dd'] ${body} {code} It produces 4 log messages in camel 2.18.3 using the converter {{CollectionConverter.toSet(java.util.Map)}}. Using camel 2.24.1 it produces only one message containing the whole list. This is due to {{ObjectConverterOptimised}} calling {{ObjectHelper.createIterable(java.lang.Object)}} which has a fallback to {{Collections.singletonList(value)}} thus producing a single entry with the whole Map. The fix is probably to add a {{if (value instanceof Map) { return ((Map)value).entrySet(); } }} but I would like to know what you think about it before doing a pull request. Thanks > Map to Iterable converter regression > > > Key: CAMEL-13741 > URL: https://issues.apache.org/jira/browse/CAMEL-13741 > Project: Camel > Issue Type: Bug > Components: camel-core >Affects Versions: 2.20.0 >Reporter: Antoine DESSAIGNE >Priority: Major > > When converting a {{Map}} to an {{Iterable}} the results is no longer the > same since CAMEL-11379. > Given the following context > {code} > > http://camel.apache.org/schema/spring";> > > > > [A: 'aa', B: 'bb', C: 'cc', D: 'dd'] > > > > ${body} > > > > > {code} > It produces 4 log messages in camel 2.18.3 using the converter > {{CollectionConverter.toSet(java.util.Map)}}. Using camel 2.24.1 it > produces only one message containing the whole list. This is due to > {{ObjectConverterOptimised}} calling > {{ObjectHelper.createIterable(java.lang.Object)}} which has a fallback to > {{Collections.singletonList(value)}} thus producing a single entry with the > whole Map. > The fix is probably to add in > {{ObjectHelper.createIterable(java.lang.Object)}} the following code > {code} > if (value instanceof Map) { > return ((Map)value).entrySet(); > } > {code} > but I would like to know what you think about it before doing a pull request. > Thanks -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (CAMEL-13741) Map to Iterable converter regression
[ https://issues.apache.org/jira/browse/CAMEL-13741?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Antoine DESSAIGNE updated CAMEL-13741: -- Description: When converting a {{Map}} to an {{Iterable}} the results is no longer the same since CAMEL-11379. Given the following context {code} http://camel.apache.org/schema/spring";> [A: 'aa', B: 'bb', C: 'cc', D: 'dd'] ${body} {code} It produces 4 log messages in camel 2.18.3 using the converter {{CollectionConverter.toSet(java.util.Map)}}. Using camel 2.24.1 it produces only one message containing the whole list. This is due to {{ObjectConverterOptimised}} calling {{ObjectHelper.createIterable(java.lang.Object)}} which has a fallback to {{Collections.singletonList(value)}} thus producing a single entry with the whole Map. The fix is probably to add a {{if (value instanceof Map) { return ((Map)value).entrySet(); } }} but I would like to know what you think about it before doing a pull request. Thanks was: When converting a {{Map}} to an {{Iterable}} the results is no longer the same since CAMEL-11379. Given the following context {code} http://camel.apache.org/schema/spring";> [A: 'aa', B: 'bb', C: 'cc', D: 'dd'] ${body} {code} It produces 4 log messages in camel 2.18.3 using the converter {{CollectionConverter.toSet(java.util.Map)}}. Using camel 2.24.1 it produces only one message containing the whole list. This is due to {{ObjectConverterOptimised}} calling {{ObjectHelper.createIterable(java.lang.Object)}} which has a fallback to {{Collections.singletonList(value)}} thus producing a single entry with the whole > Map to Iterable converter regression > > > Key: CAMEL-13741 > URL: https://issues.apache.org/jira/browse/CAMEL-13741 > Project: Camel > Issue Type: Bug > Components: camel-core >Affects Versions: 2.20.0 >Reporter: Antoine DESSAIGNE >Priority: Major > > When converting a {{Map}} to an {{Iterable}} the results is no longer the > same since CAMEL-11379. > Given the following context > {code} > > http://camel.apache.org/schema/spring";> > > > > [A: 'aa', B: 'bb', C: 'cc', D: 'dd'] > > > > ${body} > > > > > {code} > It produces 4 log messages in camel 2.18.3 using the converter > {{CollectionConverter.toSet(java.util.Map)}}. Using camel 2.24.1 it > produces only one message containing the whole list. This is due to > {{ObjectConverterOptimised}} calling > {{ObjectHelper.createIterable(java.lang.Object)}} which has a fallback to > {{Collections.singletonList(value)}} thus producing a single entry with the > whole Map. > The fix is probably to add a {{if (value instanceof Map) { return > ((Map)value).entrySet(); } }} but I would like to know what you think about > it before doing a pull request. > Thanks -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Created] (CAMEL-13741) Map to Iterable converter regression
Antoine DESSAIGNE created CAMEL-13741: - Summary: Map to Iterable converter regression Key: CAMEL-13741 URL: https://issues.apache.org/jira/browse/CAMEL-13741 Project: Camel Issue Type: Bug Components: camel-core Affects Versions: 2.20.0 Reporter: Antoine DESSAIGNE When converting a {{Map}} to an {{Iterable}} the results is no longer the same since CAMEL-11379. Given the following context {code} http://camel.apache.org/schema/spring";> [A: 'aa', B: 'bb', C: 'cc', D: 'dd'] ${body} {code} It produces 4 log messages in camel 2.18.3 using the converter {{CollectionConverter.toSet(java.util.Map)}}. Using camel 2.24.1 it produces only one message containing the whole list. This is due to {{ObjectConverterOptimised}} calling {{ObjectHelper.createIterable(java.lang.Object)}} which has a fallback to {{Collections.singletonList(value)}} thus producing a single entry with the whole -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Work started] (CAMEL-13183) add support for jandex indexer
[ https://issues.apache.org/jira/browse/CAMEL-13183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on CAMEL-13183 started by Luca Burgazzoli. --- > add support for jandex indexer > -- > > Key: CAMEL-13183 > URL: https://issues.apache.org/jira/browse/CAMEL-13183 > Project: Camel > Issue Type: Improvement > Components: build system >Reporter: Luca Burgazzoli >Assignee: Luca Burgazzoli >Priority: Minor > Fix For: 3.0.0.M5 > > > We could leverage jandex [1][2] to index annotations, classes and so on for > fast annotation processing. > [1] https://github.com/wildfly/jandex > [2] https://github.com/wildfly/jandex-maven-plugin/ -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Assigned] (CAMEL-13183) add support for jandex indexer
[ https://issues.apache.org/jira/browse/CAMEL-13183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Luca Burgazzoli reassigned CAMEL-13183: --- Assignee: Luca Burgazzoli > add support for jandex indexer > -- > > Key: CAMEL-13183 > URL: https://issues.apache.org/jira/browse/CAMEL-13183 > Project: Camel > Issue Type: Improvement > Components: build system >Reporter: Luca Burgazzoli >Assignee: Luca Burgazzoli >Priority: Minor > Fix For: 3.0.0.M5 > > > We could leverage jandex [1][2] to index annotations, classes and so on for > fast annotation processing. > [1] https://github.com/wildfly/jandex > [2] https://github.com/wildfly/jandex-maven-plugin/ -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Resolved] (CAMEL-13454) camel-testcontainers - Should build if no docker
[ https://issues.apache.org/jira/browse/CAMEL-13454?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ramu resolved CAMEL-13454. -- Resolution: Fixed > camel-testcontainers - Should build if no docker > > > Key: CAMEL-13454 > URL: https://issues.apache.org/jira/browse/CAMEL-13454 > Project: Camel > Issue Type: Improvement >Reporter: Claus Ibsen >Assignee: Ramu >Priority: Major > Fix For: 3.0.0 > > Time Spent: 20m > Remaining Estimate: 0h > > If you run mvn clean install then the following should still pass. > [INFO] --- > [INFO] T E S T S > [INFO] --- > [INFO] Running > org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT > [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: > 31.178 s <<< FAILURE! - in > org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT > [ERROR] > testPropertyPlaceholders(org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT) > Time elapsed: 30.805 s <<< ERROR! > java.lang.IllegalStateException: Could not find a valid Docker environment. > Please see logs and check configuration > at > org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT.createContainer(ContainerAwareTestSupportIT.java:37) > [INFO] > [INFO] Results: > [INFO] > [ERROR] Errors: > [ERROR] > ContainerAwareTestSupportIT>CamelTestSupport.setUp:284->ContainerAwareTestSupport.setupResources:42->ContainerAwareTestSupport.createContainers:76->createContainer:37 > » IllegalState > [INFO] > [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0 > [INFO] > [INFO] > [INFO] --- maven-failsafe-plugin:2.22.1:verify (default) @ > camel-testcontainers --- > [INFO] > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Work logged] (CAMEL-13454) camel-testcontainers - Should build if no docker
[ https://issues.apache.org/jira/browse/CAMEL-13454?focusedWorklogId=274014&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-274014 ] ASF GitHub Bot logged work on CAMEL-13454: -- Author: ASF GitHub Bot Created on: 09/Jul/19 12:15 Start Date: 09/Jul/19 12:15 Worklog Time Spent: 10m Work Description: akoufoudakis commented on pull request #3027: CAMEL-13454 URL: https://github.com/apache/camel/pull/3027 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 274014) Time Spent: 20m (was: 10m) > camel-testcontainers - Should build if no docker > > > Key: CAMEL-13454 > URL: https://issues.apache.org/jira/browse/CAMEL-13454 > Project: Camel > Issue Type: Improvement >Reporter: Claus Ibsen >Assignee: Ramu >Priority: Major > Fix For: 3.0.0 > > Time Spent: 20m > Remaining Estimate: 0h > > If you run mvn clean install then the following should still pass. > [INFO] --- > [INFO] T E S T S > [INFO] --- > [INFO] Running > org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT > [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: > 31.178 s <<< FAILURE! - in > org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT > [ERROR] > testPropertyPlaceholders(org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT) > Time elapsed: 30.805 s <<< ERROR! > java.lang.IllegalStateException: Could not find a valid Docker environment. > Please see logs and check configuration > at > org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT.createContainer(ContainerAwareTestSupportIT.java:37) > [INFO] > [INFO] Results: > [INFO] > [ERROR] Errors: > [ERROR] > ContainerAwareTestSupportIT>CamelTestSupport.setUp:284->ContainerAwareTestSupport.setupResources:42->ContainerAwareTestSupport.createContainers:76->createContainer:37 > » IllegalState > [INFO] > [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0 > [INFO] > [INFO] > [INFO] --- maven-failsafe-plugin:2.22.1:verify (default) @ > camel-testcontainers --- > [INFO] > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Work logged] (CAMEL-13678) Attachments API on Message - Deprecate and remove
[ https://issues.apache.org/jira/browse/CAMEL-13678?focusedWorklogId=273953&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-273953 ] ASF GitHub Bot logged work on CAMEL-13678: -- Author: ASF GitHub Bot Created on: 09/Jul/19 10:18 Start Date: 09/Jul/19 10:18 Worklog Time Spent: 10m Work Description: davsclaus commented on pull request #3028: CAMEL-13678 - Move attachments API out of camel-core URL: https://github.com/apache/camel/pull/3028 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 273953) Time Spent: 20m (was: 10m) > Attachments API on Message - Deprecate and remove > - > > Key: CAMEL-13678 > URL: https://issues.apache.org/jira/browse/CAMEL-13678 > Project: Camel > Issue Type: Improvement > Components: camel-core >Reporter: Claus Ibsen >Assignee: Claus Ibsen >Priority: Major > Fix For: 3.0.0, 3.0.0.M5 > > Time Spent: 20m > Remaining Estimate: 0h > > We should consider making the Camel Message API more simpler and remove stuff > that are seldom in use, or can be component specific. > The javax.attachment is removed from JDK11 onwards and its not really much in > use in the future. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (CAMEL-13454) camel-testcontainers - Should build if no docker
[ https://issues.apache.org/jira/browse/CAMEL-13454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16881071#comment-16881071 ] Ramu commented on CAMEL-13454: -- I have tested. I do not see any issue(os is RHEL) it is skipping tests [~davsclaus] Could you please test > camel-testcontainers - Should build if no docker > > > Key: CAMEL-13454 > URL: https://issues.apache.org/jira/browse/CAMEL-13454 > Project: Camel > Issue Type: Improvement >Reporter: Claus Ibsen >Assignee: Ramu >Priority: Major > Fix For: 3.0.0 > > Time Spent: 10m > Remaining Estimate: 0h > > If you run mvn clean install then the following should still pass. > [INFO] --- > [INFO] T E S T S > [INFO] --- > [INFO] Running > org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT > [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: > 31.178 s <<< FAILURE! - in > org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT > [ERROR] > testPropertyPlaceholders(org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT) > Time elapsed: 30.805 s <<< ERROR! > java.lang.IllegalStateException: Could not find a valid Docker environment. > Please see logs and check configuration > at > org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT.createContainer(ContainerAwareTestSupportIT.java:37) > [INFO] > [INFO] Results: > [INFO] > [ERROR] Errors: > [ERROR] > ContainerAwareTestSupportIT>CamelTestSupport.setUp:284->ContainerAwareTestSupport.setupResources:42->ContainerAwareTestSupport.createContainers:76->createContainer:37 > » IllegalState > [INFO] > [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0 > [INFO] > [INFO] > [INFO] --- maven-failsafe-plugin:2.22.1:verify (default) @ > camel-testcontainers --- > [INFO] > -- This message was sent by Atlassian JIRA (v7.6.3#76005)