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

public abstract class CamelService extends Object implements org.apache.camel.CamelContextAware
  • Constructor Details

    • CamelService

      public CamelService()
  • Method Details

    • setCamelContext

      public void setCamelContext(org.apache.camel.CamelContext camelContext)
      Specified by:
      setCamelContext in interface org.apache.camel.CamelContextAware
    • getCamelContext

      public org.apache.camel.CamelContext getCamelContext()
      Specified by:
      getCamelContext in interface org.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
      Throws:
      SerializeException
      ParserConfigurationException
    • addHttpHeader

      protected void addHttpHeader(org.apache.camel.Exchange exchange, Map<String,String> outgoingHttpHeaders)
    • send

      protected org.apache.camel.Exchange send(String endpoint, Object body, SecurityHeaderElement securityHeaderElement, String messageId, Map<String,String> outgoingHttpHeaders) throws Exception
      Throws:
      Exception