ant elder wrote:
1. I think i like option 1 but is there still a way to say a mediator is only for fault messages?

Absolutely. This is like in normal scripting languages- if you define something it just gets defined and any other code is directly executed:

<definitions>
  <!-- log all messages -->
  <log/>

  <!-- define what happens when a fault occurs -->
  <sequence name="fault">
    ..
  </sequence>

  <send/>
</definitions>

Sanjiva.
--
Sanjiva Weerawarana, Ph.D.
Founder & Director; Lanka Software Foundation; http://www.opensource.lk/
Founder, Chairman & CEO; WSO2, Inc.; http://www.wso2.com/
Director; Open Source Initiative; http://www.opensource.org/
Member; Apache Software Foundation; http://www.apache.org/
Visiting Lecturer; University of Moratuwa; http://www.cse.mrt.ac.lk/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to