makampf commented on issue #335: URL: https://github.com/apache/camel-kafka-connector-examples/issues/335#issuecomment-1072571987
Thank you very much, that pointed me in the right direction. I have to learn more about REST and Operation syntax. With the following connector config: ```json { "name": "my-fhir-source-connector", "config": { "connector.class": "org.apache.camel.kafkaconnector.fhir.CamelFhirSourceConnector", "tasks.max": 1, "topic": "fhir.input", "camel.source.path.apiName": "OPERATION", "camel.source.path.methodName": "onServer?name=$customOperation&useHttpGet=false&extraParameters=domain=testDomain", "camel.source.endpoint.serverUrl": "https://url-of-fhir-api-com/fhir", "camel.source.endpoint.delay": 60000, "camel.source.endpoint.password": "password", "camel.source.endpoint.username": "user", "camel.component.fhir.fhirVersion": "R4" } } ``` I receive the following error: ```sh Caused by: [org.apache.camel.RuntimeCamelException - Error invoking onServer with {name=$customOperation, useHttpGet=false, extraParameters={}}: theParameters can not be null] (org.apache.camel.component.fhir.FhirConsumer) org.apache.camel.RuntimeCamelException: Error invoking onServer with {name=$customOperation, useHttpGet=false, extraParameters={}}: theParameters can not be null at org.apache.camel.support.component.ApiMethodHelper.invokeMethod(ApiMethodHelper.java:530) ``` I tried different variants to pass the required `domain` paramater, e.g. with `parameters` instead of `extraParameters`, or different kinds of brackets, but it doesnt help. Maybe you can help me on how to pass the domain parameter correctly? (_domain=testDomain_) -- 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: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org