com.consol.citrus.message
Class DefaultReplyMessageCorrelator

java.lang.Object
  extended by com.consol.citrus.message.DefaultReplyMessageCorrelator
All Implemented Interfaces:
ReplyMessageCorrelator

public class DefaultReplyMessageCorrelator
extends Object
implements ReplyMessageCorrelator

Default message correlator implementation using the Spring integration message id as correlation key.

Author:
Christoph Deppisch

Constructor Summary
DefaultReplyMessageCorrelator()
           
 
Method Summary
 String getCorrelationKey(org.springframework.integration.Message<?> request)
          Constructs the correlation key from the message header.
 String getCorrelationKey(String id)
          Get the correlation header name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultReplyMessageCorrelator

public DefaultReplyMessageCorrelator()
Method Detail

getCorrelationKey

public String getCorrelationKey(org.springframework.integration.Message<?> request)
Description copied from interface: ReplyMessageCorrelator
Constructs the correlation key from the message header.

Specified by:
getCorrelationKey in interface ReplyMessageCorrelator
Returns:
See Also:
ReplyMessageCorrelator.getCorrelationKey(org.springframework.integration.Message)

getCorrelationKey

public String getCorrelationKey(String id)
Description copied from interface: ReplyMessageCorrelator
Get the correlation header name.

Specified by:
getCorrelationKey in interface ReplyMessageCorrelator
Returns:
See Also:
ReplyMessageCorrelator.getCorrelationKey(java.lang.String)


Copyright © 2008-2013 ConSol* Consulting&Solutions GmbH. All Rights Reserved.