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 void
addHttpHeader
(org.apache.camel.Exchange exchange, Map<String, String> outgoingHttpHeaders) protected void
addWssHeader
(SecurityHeaderElement securityHeaderElement, org.apache.camel.Exchange exchange) org.openehealth.ipf.commons.audit.AuditContext
org.apache.camel.CamelContext
protected org.apache.camel.Exchange
send
(String endpoint, Object body, SecurityHeaderElement securityHeaderElement, String messageId, Map<String, String> outgoingHttpHeaders) void
setAuditContext
(org.openehealth.ipf.commons.audit.AuditContext auditContext) void
setCamelContext
(org.apache.camel.CamelContext camelContext)
-
Constructor Details
-
CamelService
public CamelService()
-
-
Method Details
-
setCamelContext
public void setCamelContext(org.apache.camel.CamelContext camelContext) - Specified by:
setCamelContext
in interfaceorg.apache.camel.CamelContextAware
-
getCamelContext
public org.apache.camel.CamelContext getCamelContext()- Specified by:
getCamelContext
in 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
-