I'm trying to figure out, How the exchangeListner works when I invoke a
service, so I thought that would be Like this:

1 -The consumer will call the provider and this will trigger the
exchangeSent as a Consumer Role.
2 -Then the porvider will receive the message and this will trigger the
exchangeDelivered  as a Provider Role
3 -Then the provider will send the response and this will trigger the
exchangeSent as a Provider Role
4 -Then the consumer will receive the response and this will trigger the
exchangeDelivered as a Consumer Role.

and is almost like this, but the last step, the number 4, is not a Consumer
Role, but a Provider Role, could someone explain to me Why does it happens?
And another doubt, I got the same id for the provider and the consumer with
this method ((InternalExchange) exchange).getSource().getId().

I would like to calculate the RTT, but I need make the link between the
exchanges.

Thanks a Lot.

-- 
[]'s

Zan Jie Lee

Reply via email to