org.opencredo.esper.integration
Class MessageContext

java.lang.Object
  extended by org.opencredo.esper.integration.MessageContext

public class MessageContext
extends java.lang.Object

Provides the complete message context as it can be retrieved from Spring Integration.

Author:
Russ Miles (russ.miles@opencredo.com)

Constructor Summary
MessageContext(org.springframework.integration.Message<?> message, org.springframework.integration.MessageChannel channel, boolean sent, java.lang.String sourceId)
           
MessageContext(org.springframework.integration.Message<?> message, org.springframework.integration.MessageChannel channel, IntegrationOperation operation, java.lang.String sourceId)
           
MessageContext(org.springframework.integration.MessageChannel channel, java.lang.String sourceId)
           
 
Method Summary
 org.springframework.integration.MessageChannel getChannel()
           
 org.springframework.integration.Message<?> getMessage()
           
 java.lang.String getMessageId()
           
 IntegrationOperation getOperation()
           
 java.lang.String getSourceId()
           
 boolean isSent()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageContext

public MessageContext(org.springframework.integration.Message<?> message,
                      org.springframework.integration.MessageChannel channel,
                      IntegrationOperation operation,
                      java.lang.String sourceId)

MessageContext

public MessageContext(org.springframework.integration.Message<?> message,
                      org.springframework.integration.MessageChannel channel,
                      boolean sent,
                      java.lang.String sourceId)

MessageContext

public MessageContext(org.springframework.integration.MessageChannel channel,
                      java.lang.String sourceId)
Method Detail

getMessage

public org.springframework.integration.Message<?> getMessage()

getMessageId

public java.lang.String getMessageId()

getChannel

public org.springframework.integration.MessageChannel getChannel()

getOperation

public IntegrationOperation getOperation()

isSent

public boolean isSent()

getSourceId

public java.lang.String getSourceId()


Copyright © 2011. All Rights Reserved.