varoliver opened a new issue, #4654:
URL: https://github.com/apache/camel-quarkus/issues/4654
Hello,
we are migrating from camel 2.23 to camel quarkus (2.13 redhat).
Following code worked with 2.23 and appended the query parameters from the
map which was generated by the method expression
```
.setHeader("CamelOlingo4.queryParams", method(SomeQueryBuilder.class,
"buildQuery"))
.enrich("olingo4://read/SomeEntities",
AggregationStrategies.flexible().storeInBody())
```
With camel quarkus the set
org.apache.camel.component.olingo4.Olingo4Endpoint#olingo4endpointPropertyNames
does not contain the value "queryParams". This results in calling toString()
of the map in
org.apache.camel.component.olingo4.Olingo4Endpoint#parseQueryParams
putting the value {key1=value1} in the local queryParams variable resulting
in an invalid URL.
I think the issue may be that queryParams in Olingo4AppEndpointConfiguration
is null and so
the key for queryParams does not get set in the properties map in:
org.apache.camel.support.component.ApiMethodPropertiesHelper#getConfigurationProperties
Please let us now if we are missing something else...
Kind regards
Oliver
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]