Re: MessageExchange.getRole(): Role.PROVIDER vs. Role.CONSUMER

2007-01-23 Thread Guillaume Nodet
On 1/23/07, Rossmanith, Philipp [EMAIL PROTECTED] wrote: Hi, I tried to find out where the Role of a MessageExchange is being set. I got stuck with the following, and was hoping that someone might help me out with clarifying the issue(s). 1.) States of MEs == A

RE: MessageExchange.getRole(): Role.PROVIDER vs. Role.CONSUMER

2007-01-23 Thread Rossmanith, Philipp
Hi, Response between the lines... 1.) States of MEs == A MessageExchange (ME) has an array of possible states (int [][]states), which differs depending on the type of the ME. It is only being set in the constructor of MessageExchangeImpl. When being sent, the method:

Re: MessageExchange.getRole(): Role.PROVIDER vs. Role.CONSUMER

2007-01-23 Thread Guillaume Nodet
On 1/23/07, Rossmanith, Philipp [EMAIL PROTECTED] wrote: Hi, Response between the lines... 1.) States of MEs == snipped Ok. The CAN_OWNER flags are maintained along with the states; in a given state (which has been changed by accepting or sending an ME), it is or is not

Re: MessageExchange.getRole(): Role.PROVIDER vs. Role.CONSUMER

2007-01-23 Thread Guillaume Nodet
On 1/23/07, Rossmanith, Philipp [EMAIL PROTECTED] wrote: On a side note, I like the structure of the Cocoon documentation, where general documentation is divided into a User and Developer part depending on whether you want to only use the framework or want to code