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

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

by antoine.borg :: Rate this Message:

Reply to Author | View in Thread

Hello,

The config seems fine.  Can you post the following:

1) The declaration of the ExceptionToString transformer. If this is a custom
transformer, can you post the code for it too?
2) The Mule logs, ideally with debug enabled, showing a message passing
through service "Point1", the exception caused and the message passing
through "SystemErrorHandler".

Antoine  


Antoine Borg, Senior Consultant | Tel: +32 28 504 696
ricston Ltd., BP 2, 1180 Uccle, Brussels, BELGIUM
email: antoine.borg@... | blog: blog.ricston.com | web: ricston.com

-----Original Message-----
From: Eliott [mailto:eliott100@...]
Sent: Wednesday, August 27, 2008 10:24 PM
To: user@...
Subject: [mule-user] default-service-exception-strategy transformer
question, possible bug


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

--
View this message in context:
http://www.nabble.com/default-service-exception-strategy-transformer-questio
n%2C-possible-bug-tp19188991p19188991.html
Sent from the Mule - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


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