Class V3PixSource
java.lang.Object
org.projecthusky.communication.CamelService
org.projecthusky.communication.mpi.impl.pix.V3PixSource
- All Implemented Interfaces:
org.apache.camel.CamelContextAware
- Author:
- Anthony Larocca
-
Constructor Summary
ConstructorsConstructorDescriptionV3PixSource
(URI pixServerURI, org.apache.camel.CamelContext context, org.openehealth.ipf.commons.audit.AuditContext auditorContext) Constructor: -
Method Summary
Modifier and TypeMethodDescriptionsendMergePatients
(V3PixSourceMergePatients v3query, SecurityHeaderElement assertion, String messageId) Send the provided V3PixSourceMergePatients message to the serversendRecordAdded
(V3PixSourceRecordAdded v3query, SecurityHeaderElement assertion, String messageId) Send the provided V3PixSourceRecordAdded message to the server.sendRecordRevised
(V3PixSourceRecordRevised v3query, SecurityHeaderElement assertion, String messageId) Send the provided V3PixSourceRecordRevised message to the serverMethods inherited from class org.projecthusky.communication.CamelService
addHttpHeader, addWssHeader, getAuditContext, getCamelContext, send, setAuditContext, setCamelContext
-
Constructor Details
-
V3PixSource
public V3PixSource(URI pixServerURI, org.apache.camel.CamelContext context, org.openehealth.ipf.commons.audit.AuditContext auditorContext) Constructor:- Parameters:
pixServerURI
- the URI for the server to use for query requests (required, cannot be null)
-
-
Method Details
-
getServerURI
- Returns:
- Returns the server URI
-
sendMergePatients
public V3Acknowledgement sendMergePatients(V3PixSourceMergePatients v3query, SecurityHeaderElement assertion, String messageId) throws Exception Send the provided V3PixSourceMergePatients message to the server- Parameters:
v3query
-- Returns:
- V3PixSourceAcknowledgement - The Server Ack
- Throws:
Exception
-
sendRecordAdded
public V3Acknowledgement sendRecordAdded(V3PixSourceRecordAdded v3query, SecurityHeaderElement assertion, String messageId) throws Exception Send the provided V3PixSourceRecordAdded message to the server.- Parameters:
v3query
-- Returns:
- V3PixSourceAcknowledgement - The Server Ack
- Throws:
Exception
-
sendRecordRevised
public V3Acknowledgement sendRecordRevised(V3PixSourceRecordRevised v3query, SecurityHeaderElement assertion, String messageId) throws Exception Send the provided V3PixSourceRecordRevised message to the server- Parameters:
v3query
-- Returns:
- V3PixSourceAcknowledgement - The Server Ack
- Throws:
Exception
-