Package akka.camel

Class AkkaCamelException

  • All Implemented Interfaces:
    java.io.Serializable, scala.Serializable

    public class AkkaCamelException
    extends AkkaException
    An exception indicating that the exchange to the camel endpoint failed. It contains the failure cause obtained from Exchange.getException and the headers from either the Exchange.getIn message or Exchange.getOut message, depending on the exchange pattern.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      AkkaCamelException​(java.lang.Throwable cause)  
      AkkaCamelException​(java.lang.Throwable cause, scala.collection.immutable.Map<java.lang.String,​java.lang.Object> headers)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      scala.collection.immutable.Map<java.lang.String,​java.lang.Object> headers()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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

      • AkkaCamelException

        public AkkaCamelException​(java.lang.Throwable cause,
                                  scala.collection.immutable.Map<java.lang.String,​java.lang.Object> headers)
      • AkkaCamelException

        public AkkaCamelException​(java.lang.Throwable cause)
    • Method Detail

      • headers

        public scala.collection.immutable.Map<java.lang.String,​java.lang.Object> headers()