Hi,

Thanks for the reply. As u said , In the consumer component I after getting
the response , I set the Done signal on the InOut exchange and sent it
across the channel. After doing this I was able to listen to the Done signal
and is displayed in the logs..i.e In the code i added the following :

...
NormalizedMessage out = exchange.getOutMessage();
                exchange.setStatus(ExchangeStatus.DONE);
                channel.send(exchange);

...

This is fine right ??

Thanks,
srvg


iocanel wrote:
> 
> 
> 
> srvg wrote:
>> 
>> Hi,
>> 
>> I have a very simple process composed as follows:
>> MyConsumer ( say C1) -> My Provider ( say P1 )
>>  The MEP is InOut.
>>  The problem is that there are no Done signal  from C1 component to the
>> P1 component . There are only    Active signals which are showing up.
>> 
>>  I used a listener ( name : Message Tracer ) to see the messages sent.
>> 
>>  The messages are:
>> *******************************************************
>> INFO  - MessageTracer                  - MEP :: InOut
>> id :: ID:10.58.131.94-128d8d33bcd-29:0
>> Role :: consumer
>> Status :: Active
>> 
>> in Message Content :: <?xml version="1.0" encoding="UTF-8"?><queries>
>>                 </queries>
>> *******************************************************
>> 
>> INFO  - MessageTracer                  - MEP :: InOut
>> id :: ID:10.58.131.94-128d8d33bcd-29:0
>> Role :: provider
>> Status :: Active
>> 
>> in Message Content :: <?xml version="1.0" encoding="UTF-8"?><queries>
>>           </queries>
>> out Message Content :: <?xml version="1.0" encoding="UTF-8"?><result/>
>> 
>> *******************************************************
>> 
>> INFO  - MessageTracer                  - MEP :: InOut
>> id :: ID:10.58.131.94-128d8d33bcd-29:0
>> Role :: consumer
>> Status :: Active
>> 
>> in Message Content :: <?xml version="1.0" encoding="UTF-8"?><queries>
>>                 </queries>
>> out Message Content :: <?xml version="1.0" encoding="UTF-8"?><result/>
>> 
>> *******************************************************
>> In the last message Instead of Status Done , I am getting Active. I am
>> using servicemix 3.3.
>> Please let me know what the problem is . This issue is kind of urgent!!
>> 
>> Thanks,
>> srvg
>> 
>> 
> 
> The last message means that the consumer read the exchange containing the
> out message. It is up to the consumer to set the exchange status to DONE
> and send it back.
> 
> Can you please send us more details on your consumer.
> 
> 

-- 
View this message in context: 
http://old.nabble.com/No-Done-messages-seen-when-using-InOUT-MEP-pattern-tp28691445p28702537.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to