xcf-iti63 component
The xcf-iti63 component provides interfaces for actors of the Cross-Gateway Fetch IHE transaction (ITI-63), which is described in the IHE ITI TF Cross-Community Fetch (XCF) Supplement.
Actors
The transaction defines the following actors:
Producer side corresponds to the Initiating Gateway actor. Consumer side corresponds to the Responding Gateway actor.
Dependencies
In a Maven-based environment, the following dependency must be registered in pom.xml:
<dependency> <groupId>org.openehealth.ipf.platform-camel</groupId> <artifactId>ipf-platform-camel-ihe-xds</artifactId> <version>${ipf-version}</version> </dependency>
Endpoint URI Format
Producer
The endpoint URI format of xcf-iti63 component producers is:
xcf-iti63://hostname:port/path/to/service[?parameters]
where hostname is either an IP address or a domain name, port is a port number, and path/to/service represents additional path elements of the remote service. URI parameters are optional and control special features as described in the corresponding section below.
Consumer
The endpoint URI format of xcf-iti63 component consumers is:
xcf-iti63:serviceName?homeCommunityId=<homeCommunityId>[¶meters]
The resulting URL of the exposed IHE Web Service endpoint depends on both the configuration of the deployment container and the serviceName parameter provided in the Camel endpoint URI.
For example, when a Tomcat container on the host eHealth.server.org is configured in the following way:
port = 8888 contextPath = /IHE servletPath = /xds/*
and serviceName equals to iti63Service, then the xcf-iti63 consumer will be available for external clients under the URL http://eHealth.server.org:8888/IHE/xds/iti63Service
Additional URI parameters are optional and control special features as described in the corresponding section below.
Example
This is an example on how to use the component on the consumer side:
from("xcf-iti63:iti63Service?homeCommunityId=1.2.3.4&audit=true") .process(myProcessor) // process the incoming request and create a response