Details

  • User impact:
    High
  • Configuration:
    Hide
    <flow name="etransport-list-request-flow" >
    	<inbound-endpoint ref="etransportListRequest"/>
    	<http:rest-service-component serviceUrl="https://${etransport.host}/${etransport.path}${etransport.list}#[groovy:payload]" httpMethod="GET" />
    	<transformer ref="ObjectToString"/>
    	<transformer ref="NavetFileListRequestToList"/>
    	<collection-splitter/>
    	<message-filter throwOnUnaccepted="true">
    		<not-filter>
    			<wildcard-filter pattern="*Access denied*" caseSensitive="false"/>
    		</not-filter>
    	</message-filter>
    	<outbound-endpoint exchange-pattern="request-response" address="jdbc://insertSHSMessage?connector=jdbcDefault"/>
    	<default-exception-strategy>
    		<vm:outbound-endpoint path="handleException"/>
    	</default-exception-strategy>
    </flow>	
    
    Show
    <flow name="etransport-list-request-flow" >
    	<inbound-endpoint ref="etransportListRequest"/>
    	<http:rest-service-component serviceUrl="https://${etransport.host}/${etransport.path}${etransport.list}#[groovy:payload]" httpMethod="GET" />
    	<transformer ref="ObjectToString"/>
    	<transformer ref="NavetFileListRequestToList"/>
    	<collection-splitter/>
    	<message-filter throwOnUnaccepted="true">
    		<not-filter>
    			<wildcard-filter pattern="*Access denied*" caseSensitive="false"/>
    		</not-filter>
    	</message-filter>
    	<outbound-endpoint exchange-pattern="request-response" address="jdbc://insertSHSMessage?connector=jdbcDefault"/>
    	<default-exception-strategy>
    		<vm:outbound-endpoint path="handleException"/>
    	</default-exception-strategy>
    </flow>	
    
  • Similar Issues:
    None

Description

When setting throwOnUnaccepted="true" on a message-filter the exception thrown by the filter is not sent to the outbound-endpoint defined in default-exception-strategy.

Issue Links

Activity

Hide
Evangelina Martinez Ruiz Moreno added a comment -

Issue fixed with changes on MULE-5578.

ExceptionStrategyFilterMule5342TestCase added in 3.1.x r22340 to verify it's working as expected.

Tested it in 3.1.1 with a modification of the mule hello example attached to this issue

Show
Evangelina Martinez Ruiz Moreno added a comment - Issue fixed with changes on MULE-5578. ExceptionStrategyFilterMule5342TestCase added in 3.1.x r22340 to verify it's working as expected. Tested it in 3.1.1 with a modification of the mule hello example attached to this issue

People

Vote (1)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: