Class JbiExchange setting fault, but message is not a fault 
------------------------------------------------------------

                 Key: SM-1589
                 URL: https://issues.apache.org/activemq/browse/SM-1589
             Project: ServiceMix
          Issue Type: Bug
    Affects Versions: 3.2.2
         Environment: FUSE release 3.3.1.6. 
            Reporter: Garry Brother
            Priority: Minor


In class org.apache.servicemix.camel.JbiExchange, around line 153,
method 'createFaultMessage' calls 'createMessage' with argument "fault."
Method 'createMessage' can then create a normal - not fault - message and
set it on the exchange as a FAULT which will trigger a subsequent exception:

    javax.jbi.messaging.MessagingException: Setting fault, but message is not a 
fault 

Test scenario: write a simple bean that on receiving a message sets an Exchange
fault.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to