THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
- The MediatorInInterceptor is for SOAP binding, you can write a similar interceptor for XML binding etc.
- We call chain.abort at the end of this interceptor to stop any further processing in the dummy service.
- In this example, implementor1 and implementor2 are published using local transport. This is achieved by using an address like "local://SoapContext/version1/SoapPort". The MediatorInInterceptor looks up ServerRegistry to find endpoints hosted in the server then do does the re-dispatch.
- The MediatorInInterceptor is set to POST_STREAM phase and before StaxInInterceptor, this makes sure it is the very first interceptor to be invoked.