You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicemix.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2017/06/26 15:23:01 UTC

[jira] [Assigned] (SMXCOMP-16) Class JbiExchange setting fault, but message is not a fault

     [ https://issues.apache.org/jira/browse/SMXCOMP-16?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet reassigned SMXCOMP-16:
--------------------------------------

    Assignee:     (was: Guillaume Nodet)

> Class JbiExchange setting fault, but message is not a fault 
> ------------------------------------------------------------
>
>                 Key: SMXCOMP-16
>                 URL: https://issues.apache.org/jira/browse/SMXCOMP-16
>             Project: ServiceMix Components
>          Issue Type: Bug
>          Components: servicemix-camel
>    Affects Versions: 3.2.2
>         Environment: FUSE release 3.3.1.6. 
>            Reporter: Garry Brother
>             Fix For: 2013.02
>
>
> 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 was sent by Atlassian JIRA
(v6.4.14#64029)