Package org.projecthusky.communication
Class CamelService
java.lang.Object
org.projecthusky.communication.CamelService
- All Implemented Interfaces:
org.apache.camel.CamelContextAware
- Direct Known Subclasses:
ConvenienceCommunication,PixPdqV3QueryBase,SimplePpfClient,SimplePpqClient,V3Client,V3PixSource
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddHttpHeader(org.apache.camel.Exchange exchange, Map<String, String> outgoingHttpHeaders) protected voidaddWssHeader(SecurityHeaderElement securityHeaderElement, org.apache.camel.Exchange exchange) org.openehealth.ipf.commons.audit.AuditContextorg.apache.camel.CamelContextprotected org.apache.camel.Exchangesend(String endpoint, Object body, SecurityHeaderElement securityHeaderElement, String messageId, Map<String, String> outgoingHttpHeaders) voidsetAuditContext(org.openehealth.ipf.commons.audit.AuditContext auditContext) voidsetCamelContext(org.apache.camel.CamelContext camelContext)
-
Constructor Details
-
CamelService
public CamelService()
-
-
Method Details
-
setCamelContext
public void setCamelContext(org.apache.camel.CamelContext camelContext) - Specified by:
setCamelContextin interfaceorg.apache.camel.CamelContextAware
-
getCamelContext
public org.apache.camel.CamelContext getCamelContext()- Specified by:
getCamelContextin interfaceorg.apache.camel.CamelContextAware
-
getAuditContext
public org.openehealth.ipf.commons.audit.AuditContext getAuditContext() -
setAuditContext
public void setAuditContext(org.openehealth.ipf.commons.audit.AuditContext auditContext) -
addWssHeader
protected void addWssHeader(SecurityHeaderElement securityHeaderElement, org.apache.camel.Exchange exchange) throws SerializeException, ParserConfigurationException -
addHttpHeader
-
send
protected org.apache.camel.Exchange send(String endpoint, Object body, SecurityHeaderElement securityHeaderElement, String messageId, Map<String, String> outgoingHttpHeaders) throws Exception- Throws:
Exception
-