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

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

public final class FlowIdProtocolHeaderCodec
extends Object

Read and Write the flowId using the PROTOCOL_HEADERS.


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

Method Detail

readFlowId

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

Parameters:
message - the message
Returns:
the FlowId as string

writeFlowId

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

Parameters:
message - the message
flowId - the flow id


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