[jira] [Assigned] (CAMEL-20704) Duplicate case branch in ExpressionDeserializers
[ https://issues.apache.org/jira/browse/CAMEL-20704?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dmitrii Kriukov reassigned CAMEL-20704: --- Assignee: Dmitrii Kriukov > Duplicate case branch in ExpressionDeserializers > > > Key: CAMEL-20704 > URL: https://issues.apache.org/jira/browse/CAMEL-20704 > Project: Camel > Issue Type: Bug > Components: camel-yaml-dsl >Reporter: Dmitrii Kriukov >Assignee: Dmitrii Kriukov >Priority: Minor > > case "expression-type": > { return constructExpressionType(node); } > case "expressionType": \{ return constructExpressionType(node); } -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (CAMEL-20704) Duplicate case branch in ExpressionDeserializers
[ https://issues.apache.org/jira/browse/CAMEL-20704?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dmitrii Kriukov updated CAMEL-20704: Priority: Minor (was: Major) > Duplicate case branch in ExpressionDeserializers > > > Key: CAMEL-20704 > URL: https://issues.apache.org/jira/browse/CAMEL-20704 > Project: Camel > Issue Type: Bug > Components: camel-yaml-dsl >Reporter: Dmitrii Kriukov >Priority: Minor > > case "expression-type": > { return constructExpressionType(node); } > case "expressionType": \{ return constructExpressionType(node); } -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (CAMEL-20704) Duplicate case branch in ExpressionDeserializers
[ https://issues.apache.org/jira/browse/CAMEL-20704?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dmitrii Kriukov updated CAMEL-20704: Description: case "expression-type": { return constructExpressionType(node); } case "expressionType": \{ return constructExpressionType(node); } was: case "expression-type": { return constructExpressionType(node); } case "expressionType": { return constructExpressionType(node); } > Duplicate case branch in ExpressionDeserializers > > > Key: CAMEL-20704 > URL: https://issues.apache.org/jira/browse/CAMEL-20704 > Project: Camel > Issue Type: Bug > Components: camel-yaml-dsl >Reporter: Dmitrii Kriukov >Priority: Major > > case "expression-type": > { return constructExpressionType(node); } > case "expressionType": \{ return constructExpressionType(node); } -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Created] (CAMEL-20704) Duplicate case branch in ExpressionDeserializers
Dmitrii Kriukov created CAMEL-20704: --- Summary: Duplicate case branch in ExpressionDeserializers Key: CAMEL-20704 URL: https://issues.apache.org/jira/browse/CAMEL-20704 Project: Camel Issue Type: Bug Components: camel-yaml-dsl Reporter: Dmitrii Kriukov case "expression-type": { return constructExpressionType(node); } case "expressionType": { return constructExpressionType(node); } -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Created] (CAMEL-20703) Typo in OutputAwareFromDefinitionDeserializer - non-null string literal is null checked
Dmitrii Kriukov created CAMEL-20703: --- Summary: Typo in OutputAwareFromDefinitionDeserializer - non-null string literal is null checked Key: CAMEL-20703 URL: https://issues.apache.org/jira/browse/CAMEL-20703 Project: Camel Issue Type: Bug Components: camel-yaml-dsl Reporter: Dmitrii Kriukov Assignee: Dmitrii Kriukov {color:#172b4d}ObjectHelper.notNull("uri", "The uri must set");{color} -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Created] (CAMEL-20702) Add a Pinecone component
Andrea Cosentino created CAMEL-20702: Summary: Add a Pinecone component Key: CAMEL-20702 URL: https://issues.apache.org/jira/browse/CAMEL-20702 Project: Camel Issue Type: New Feature Reporter: Andrea Cosentino Assignee: Andrea Cosentino Fix For: 4.x https://www.pinecone.io/ https://github.com/pinecone-io/pinecone-java-client -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Created] (CAMEL-20701) camel-kafka: simplify de-serialization of JMS headers
Otavio Rodolfo Piske created CAMEL-20701: Summary: camel-kafka: simplify de-serialization of JMS headers Key: CAMEL-20701 URL: https://issues.apache.org/jira/browse/CAMEL-20701 Project: Camel Issue Type: Improvement Components: camel-kafka Affects Versions: 4.5.0, 4.4.1 Reporter: Otavio Rodolfo Piske Assignee: Otavio Rodolfo Piske Fix For: 4.6.0 Sometimes JMS headers may be set in different data types that those expected by the type converter. For instance: endpoints and or users may set and/or transform them as strings, longs or integers (depending on the data type). This complicates reading that data. Kafka has the {{HeaderDeserializer}} option that can used for helping this deserialization process. Camel should provide a generic class to perform this de-serialization and serve as a model for users willing to implement more complex cases. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (CAMEL-20701) camel-kafka: simplify de-serialization of JMS headers
[ https://issues.apache.org/jira/browse/CAMEL-20701?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Otavio Rodolfo Piske updated CAMEL-20701: - Priority: Minor (was: Major) > camel-kafka: simplify de-serialization of JMS headers > - > > Key: CAMEL-20701 > URL: https://issues.apache.org/jira/browse/CAMEL-20701 > Project: Camel > Issue Type: Improvement > Components: camel-kafka >Affects Versions: 4.4.1, 4.5.0 >Reporter: Otavio Rodolfo Piske >Assignee: Otavio Rodolfo Piske >Priority: Minor > Fix For: 4.6.0 > > > Sometimes JMS headers may be set in different data types that those expected > by the type converter. For instance: endpoints and or users may set and/or > transform them as strings, longs or integers (depending on the data type). > This complicates reading that data. > Kafka has the {{HeaderDeserializer}} option that can used for helping this > deserialization process. > Camel should provide a generic class to perform this de-serialization and > serve as a model for users willing to implement more complex cases. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Reopened] (CAMEL-20691) camel-azure-servicebus: Broker properties should not be propagated into application properties
[ https://issues.apache.org/jira/browse/CAMEL-20691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dylan Piergies reopened CAMEL-20691: So it turns out this issue does exist. Fixing along with CAMEL-20699. > camel-azure-servicebus: Broker properties should not be propagated into > application properties > -- > > Key: CAMEL-20691 > URL: https://issues.apache.org/jira/browse/CAMEL-20691 > Project: Camel > Issue Type: Bug > Components: camel-azure >Affects Versions: 4.4.2, 4.5.0 >Reporter: Dylan Piergies >Priority: Major > > The change to propagate Camel Exchange headers into Service Bus message > application properties did not take into account that the broker properties > (and the application properties map itself) should not be added to the > application properties map. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Created] (CAMEL-20700) camel-core: ReflectionHelper.setField may fail for numeric type fields
James Netherton created CAMEL-20700: --- Summary: camel-core: ReflectionHelper.setField may fail for numeric type fields Key: CAMEL-20700 URL: https://issues.apache.org/jira/browse/CAMEL-20700 Project: Camel Issue Type: Bug Components: camel-core Affects Versions: 4.5.0, 4.4.0, 4.3.0 Reporter: James Netherton Originally reported here: [https://camel.zulipchat.com/#narrow/stream/257302-camel-quarkus/topic/PropertyInject.20failure.20in.20CxfConfigurer] If you use @PropertyInject like: {code:java} public class Foo { @PropertyInject(value = "1") private Integer bar; } {code} Then you get an exception like: {code:java} java.lang.UnsupportedOperationException: Cannot inject value of class: class java.lang.Integer into: private java.lang.Integer {code} The original exception is swallowed, but it's something like: {code:java} IllegalArgumentException: Can not set java.lang.Integer field to int(1) {code} You can't use Field.setInt etc where the field type is not a primitive. You have to use Field.set in that case. [https://docs.oracle.com/javase/tutorial/reflect/member/fieldTrouble.html] Maybe it's related to this change: [https://github.com/apache/camel/commit/df19aec009164ba821c60518651dfc5eda3aee7d] -- This message was sent by Atlassian Jira (v8.20.10#820010)