java.lang.Object
org.openehealth.ipf.platform.camel.ihe.hl7v3.iti55.TtlHeaderUtils

public class TtlHeaderUtils extends Object
Helper functions for handling TTL SOAP header in XCPD.
Author:
Dmytro Rud
  • Method Summary

    Modifier and Type
    Method
    Description
    static Duration
    getTtl(org.apache.camel.Message message)
    Returns the XCPD TTL value stored in incoming SOAP headers associated with the given message, or null, when none found.
    static void
    setTtl(Duration dura, org.apache.camel.Message message)
    Stores the user-defined XCPD TTL value into outgoing SOAP headers associated with the given message.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • getTtl

      public static Duration getTtl(org.apache.camel.Message message)
      Returns the XCPD TTL value stored in incoming SOAP headers associated with the given message, or null, when none found.
    • setTtl

      public static void setTtl(Duration dura, org.apache.camel.Message message)
      Stores the user-defined XCPD TTL value into outgoing SOAP headers associated with the given message.