If you receive an InOnly exchange, you need
to send the exchange back with a DONE status.
       exchangeHelper.doneExchange(exchange)

If you receive an InOut exchange, you need to send
back the response in the out message.
        NormalizedMessage out = exchange.createMessage();
       out.setContent(new StringSource("<world>hello</world>"));
       exchange.setMessage(out, "out");
       exchangeHelper.sendExchange(exchange);           


On 1/2/07, stephan.lux <[EMAIL PROTECTED]> wrote:


Ok, the receiver of the soap request is a groovy script, which has
implemented the ExchangeProcessor interface. Should I set something in the
process method, that the http component sends the response?


gnodet wrote:
>
> The consumer will send the response after the message has been
> processed, so that it can report errors.
>
> On 1/2/07, stephan.lux <[EMAIL PROTECTED]> wrote:
>>
>>
>> stephan.lux wrote:
>> >
>> > I had allready set the log level to DEBUG, but there are no error
>> messages
>> > in the log file. When will the http consumer sends the response, after
>> the
>> > retrieving or processing the message?
>> >
>> > Cheers
>> > Stephan
> --
> Cheers,
> Guillaume Nodet
>
>
</qoute>
--
View this message in context: 
http://www.nabble.com/Multiple-processing-of-one-soap-call-tf2894993s12049.html#a8123052
Sent from the ServiceMix - User mailing list archive at Nabble.com.




--
Cheers,
Guillaume Nodet

Reply via email to