org.apache.camel.processor.idempotent
Class NoMessageIdException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.apache.camel.RuntimeCamelException
                  extended by org.apache.camel.processor.idempotent.NoMessageIdException
All Implemented Interfaces:
Serializable

public class NoMessageIdException
extends RuntimeCamelException

An exception thrown if no message ID could be found on a message which is to be used with the Idempotent Consumer pattern.

Version:
$Revision: 16353 $
See Also:
Serialized Form

Constructor Summary
NoMessageIdException(Exchange exchange, Expression expression)
           
 
Method Summary
 Exchange getExchange()
          The exchange which caused this failure
 Expression getExpression()
          The expression which was used
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NoMessageIdException

public NoMessageIdException(Exchange exchange,
                            Expression expression)
Method Detail

getExchange

public Exchange getExchange()
The exchange which caused this failure


getExpression

public Expression getExpression()
The expression which was used



Copyright © 2007-2010 IONA Open Source Community. All Rights Reserved.