How to set client or clientFactory in the FhirConfiguration object?

2019-06-21 Thread Paw B Sørensen
The camel fhir component supports setting several query parameters. In the implementation of FhirConfiguration all of these parameters are annotated with @UriParam. Also in the implementation of FhirConfiguration I find the client and clientFactory variables but they are annotated with @Metadata

Re: How to set client or clientFactory in the FhirConfiguration object?

2019-06-21 Thread Claus Ibsen
Hi Ah those 2 are wrong they should be @UriParam also. You are welcome to log a JIRA and provide a PR On Fri, Jun 21, 2019 at 10:10 AM Paw B Sørensen wrote: > > The camel fhir component supports setting several query parameters. In the > implementation of FhirConfiguration all of these paramete

Re: How to set client or clientFactory in the FhirConfiguration object?

2019-06-21 Thread Claus Ibsen
And btw you should still be able to configure them as query parameters, as those @UriParam etc are for documentation purposes. On Fri, Jun 21, 2019 at 2:19 PM Claus Ibsen wrote: > > Hi > > Ah those 2 are wrong they should be @UriParam also. You are welcome to > log a JIRA and provide a PR > > On

Re: How to set client or clientFactory in the FhirConfiguration object?

2019-06-24 Thread Claus Ibsen
Hi I have fixed this for master, eg Camel 3 On Fri, Jun 21, 2019 at 2:20 PM Claus Ibsen wrote: > > And btw you should still be able to configure them as query > parameters, as those @UriParam etc are for documentation purposes. > > On Fri, Jun 21, 2019 at 2:19 PM Claus Ibsen wrote: > > > > Hi >

Re: How to set client or clientFactory in the FhirConfiguration object?

2019-06-25 Thread John Poth
Sure you can check [1] for and example, thanks! [1] https://github.com/apache/camel/blob/b9a3117f19dd19abd2ea8b789c42c3e86fe4c488/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirCustomClientConfigurationIT.java#L63 On Tue, Jun 25, 2019 at 7:42 AM Claus

RE: How to set client or clientFactory in the FhirConfiguration object?

2019-06-26 Thread Paw B Sørensen
figuration. Paw B Sørensen paw.b.soren...@systematic.com -Original Message- From: Claus Ibsen Sent: 25. juni 2019 07:42 To: users@camel.apache.org Subject: Re: How to set client or clientFactory in the FhirConfiguration object? Hi I have fixed this for master, eg Camel 3 On Fri, Ju

Re: How to set client or clientFactory in the FhirConfiguration object?

2019-06-26 Thread John Poth
> From: Claus Ibsen > Sent: 25. juni 2019 07:42 > To: users@camel.apache.org > Subject: Re: How to set client or clientFactory in the FhirConfiguration > object? > > Hi > > I have fixed this for master, eg Camel 3 > > On Fri, Jun 21, 2019 at 2:20 PM Claus Ibsen wr

RE: How to set client or clientFactory in the FhirConfiguration object?

2019-06-27 Thread Stig Døssing
mponent/src/main/java/org/apache/camel/component/fhir/FhirComponent.java#L52, we are seeing the FhirConfiguration.client field be null. -Original Message- From: John Poth Sent: 26. juni 2019 15:13 To: users@camel.apache.org Subject: Re: How to set client or clientFactory in the FhirConfigurati

Re: How to set client or clientFactory in the FhirConfiguration object?

2019-06-27 Thread John Poth
irConfiguration.client field be null. > > > -Original Message- > From: John Poth > Sent: 26. juni 2019 15:13 > To: users@camel.apache.org > Subject: Re: How to set client or clientFactory in the FhirConfiguration > object? > > Hi Paw, I'm not sure why you'r

RE: How to set client or clientFactory in the FhirConfiguration object?

2019-07-01 Thread Stig Døssing
Thanks John, you were right. We were simply looking at the configuration object too early. Thanks for your help. -Original Message- From: John Poth Sent: 27. juni 2019 18:02 To: users@camel.apache.org Subject: Re: How to set client or clientFactory in the FhirConfiguration object? Hi