0 Replies Latest reply on Nov 16, 2009 10:13 AM by Maurice Zeijen

    Error Message on a RuntimeException or ActionProcessingExcep

    Maurice Zeijen Master

      I am wondering if the behavior of JBoss ESB is correct when a RuntimeException or a ActionProcessingException gets thrown by a ActionPipelineProcessor. When one of those exceptions gets thrown (and in case of a RuntimeException that the listener is not transacted) then JBoss ESB sends a new message which only contains the Fault information and the message id of the original message which is set in the RelatesTo header field. So the original message isn't used as the fault message which means that, if the ESB user doesn't take special precautions, the original message is lost.

      If this behavior is correct then I am interested to know why it creates a new message instead of using the original one.