Hi Daniel, Because you set <property action="set" name="OUT_ONLY" value="true"/>, Synapse will not be waiting for a response. So outSequence log mediator will not be called for any message. But the inSequence log mediator should be called.
Upul On Fri, Jul 25, 2008 at 3:26 AM, Daniel Mc Iver <[EMAIL PROTECTED]> wrote: > Hi, > > I'm new to Synapse and have been playing around with the examples. I > successfully set up sample 250 and have it writing to the JMS queue however > I can't seem to get any logging to appear when I use JMS. This is how I > modified sample 250: > > <definitions xmlns="http://ws.apache.org/ns/synapse"> > <proxy name="StockQuoteProxy" transports="jms"> > <target> > <inSequence> > <log level="full"/> > <property action="set" name="OUT_ONLY" value="true"/> > </inSequence> > <endpoint> > <address uri=" > http://localhost:9000/soap/SimpleStockQuoteService"/> > </endpoint> > <outSequence> > <log level="full"/> > <send/> > </outSequence> > </target> > <publishWSDL > uri="file:repository/conf/sample/resources/proxy/sample_proxy_1.wsdl"/> > </proxy> > </definitions> > > I was expecting logs to appear before and after the call to > SimpleStockQuoteService - am I doing something wrong? > > Thanks, > > Daniel McIver > > ________________________________ > The information in this message is confidential and may be legally > privileged. It is intended solely for the addressee. Access to this message > by anyone else is unauthorised. If you are not the intended recipient, any > disclosure, copying, or distribution of the message, or any action or > omission taken by you in reliance on it, is prohibited and may be unlawful. > Please immediately contact the sender if you have received this message in > error. > > The views and opinions expressed in this email may not reflect the views > and opinions of any member of Lagan Technologies Limited, or any of its > subsidiaries. > > Lagan Technologies Limited is a company registered in Northern Ireland with > registration number NI 28773. The registered office of Lagan Technologies > Limited is 209 Airport Road West, Belfast, Co. Antrim, BT3 9EZ. > >
