« Return to Thread: default-service-exception-strategy transformer question, possible bug

default-service-exception-strategy transformer question, possible bug

by Eliott :: Rate this Message:

Reply to Author | View in Thread

hi!

i am just beginning to experiment with mule, but already managed to find something that I can not explain based on the documentation.

It seems to me that whenever I route an exception to the SystemErrorHandler service, the specified transformer is never executed, I have to do the transformation in the component class.

what am I missing here?

the essence of the config is as follows:
----
   <service name="Point1">
           
       
            <inbound>
        <file:inbound-endpoint ....cut..... transformer-refs="XmlToDom" >
                <file:filename-wildcard-filter pattern="*.txt,*.xml"/>
        </file:inbound-endpoint>
 
       
            </inbound>
           
            <component class="TesterComponent"/>

            <outbound>
                         <outbound-pass-through-router>

                       
                                <file:outbound-endpoint path="dir2"  />

                         </outbound-pass-through-router>
       
            </outbound>

                         
            <default-service-exception-strategy>
                <vm:outbound-endpoint path="systemErrorHandler"/>
            </default-service-exception-strategy>
                       
                       
        </service>


                <service name="SystemErrorHandler">
            <inbound>
                <vm:inbound-endpoint path="systemErrorHandler"  transformer-refs="ExceptionToString" />
            </inbound>
             
                         <component class="ErrorTransfomerWorkaround"/ >
                         
            <outbound>
                <outbound-pass-through-router>
                    <file:outbound-endpoint path="doneerr"  />
                </outbound-pass-through-router>
            </outbound>
        </service>
-----

regards
eliott

 « Return to Thread: default-service-exception-strategy transformer question, possible bug