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

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

public final class CorrelationIdHelper
extends Object

The Class CorrelationIdHelper used as helper for correlation id setting.


Field Summary
static String CORRELATION_ID_KEY
           
static QName CORRELATION_ID_QNAME
           
 
Method Summary
static String getCorrelationId(org.apache.cxf.message.Message message)
          Get CorrelationId from message.
static String readCorrelationId(org.apache.cxf.message.Message message)
          Read correlation id from message.
static String readCorrelationIdSoap(org.apache.cxf.message.Message message)
           
static void setCorrelationId(org.apache.cxf.message.Message message, String correlationId)
          Sets the correlation id.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CORRELATION_ID_KEY

public static final String CORRELATION_ID_KEY
See Also:
Constant Field Values

CORRELATION_ID_QNAME

public static final QName CORRELATION_ID_QNAME
Method Detail

getCorrelationId

public static String getCorrelationId(org.apache.cxf.message.Message message)
Get CorrelationId from message.

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

setCorrelationId

public static void setCorrelationId(org.apache.cxf.message.Message message,
                                    String correlationId)
Sets the correlation id.

Parameters:
message - the message
correlationId - the correlation id

readCorrelationIdSoap

public static String readCorrelationIdSoap(org.apache.cxf.message.Message message)

readCorrelationId

public static String readCorrelationId(org.apache.cxf.message.Message message)
Read correlation id from message.

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


Copyright © 2011–2015 Talend Inc.. All rights reserved.