org.talend.esb.sam.agent.message
Class FlowIdHelper

java.lang.Object
  extended by org.talend.esb.sam.agent.message.FlowIdHelper

public final class FlowIdHelper
extends Object

The Class FlowIdHelper used as helper for flow id setting.


Field Summary
static String FLOW_ID_KEY
           
 
Method Summary
static String getFlowId(org.apache.cxf.message.Message message)
          Get FlowId from message.
static void setFlowId(org.apache.cxf.message.Message message, String flowId)
          Sets the flow id.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FLOW_ID_KEY

public static final String FLOW_ID_KEY
See Also:
Constant Field Values
Method Detail

getFlowId

public static String getFlowId(org.apache.cxf.message.Message message)
Get FlowId from message.

Parameters:
message - the message
Returns:
flowId or null if not set

setFlowId

public static void setFlowId(org.apache.cxf.message.Message message,
                             String flowId)
Sets the flow id.

Parameters:
message - the message
flowId - the flow id


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