org.talend.esb.sam.agent.flowidprocessor
Class FlowIdSoapCodec

java.lang.Object
  extended by org.talend.esb.sam.agent.flowidprocessor.FlowIdSoapCodec

public final class FlowIdSoapCodec
extends Object

Read and write the FlowId using the SOAP headers.


Field Summary
static QName FLOW_ID_QNAME
           
 
Method Summary
static String readFlowId(org.apache.cxf.message.Message message)
          Read flow id.
static void writeFlowId(org.apache.cxf.message.Message message, String flowId)
          Write flow id to message.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FLOW_ID_QNAME

public static final QName FLOW_ID_QNAME
Method Detail

readFlowId

public static String readFlowId(org.apache.cxf.message.Message message)
Read flow id.

Parameters:
message - the message
Returns:
flow id from the message

writeFlowId

public static void writeFlowId(org.apache.cxf.message.Message message,
                               String flowId)
Write flow id to message.

Parameters:
message - the message
flowId - the flow id


Copyright © 2011-2012 Talend Inc.. All Rights Reserved.