public class FhirProducer<AuditDatasetType extends FhirAuditDataset>
extends org.apache.camel.impl.DefaultProducer
Constructor and Description |
---|
FhirProducer(org.apache.camel.Endpoint endpoint) |
Modifier and Type | Method and Description |
---|---|
protected ca.uhn.fhir.rest.client.api.IGenericClient |
getClient(org.apache.camel.Exchange exchange) |
FhirEndpoint<AuditDatasetType,FhirComponent<AuditDatasetType>> |
getEndpoint() |
void |
process(org.apache.camel.Exchange exchange)
Processes the exchange.
|
createExchange, createExchange, createExchange, doStart, doStop, isSingleton, toString
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
protected ca.uhn.fhir.rest.client.api.IGenericClient getClient(org.apache.camel.Exchange exchange)
public FhirEndpoint<AuditDatasetType,FhirComponent<AuditDatasetType>> getEndpoint()
getEndpoint
in interface org.apache.camel.EndpointAware
getEndpoint
in class org.apache.camel.impl.DefaultProducer
public void process(org.apache.camel.Exchange exchange)
ClientRequestFactory.getClientExecutable(IGenericClient, Object, Map)
, so that
the actual query can be dynamically constructed from the exchange.exchange
- Camel exchangeException
Copyright © 2018 Open eHealth Foundation. All rights reserved.