[ 
http://issues.apache.org/jira/browse/AXIS2-235?page=comments#action_12330252 ] 

Chamikara Jayalath commented on AXIS2-235:
------------------------------------------

Ya. It obviously can be done with a new message receiver. But only the 
RMModules knows about this behaviour. So when engaging the RMModule the user 
has to go through the operations of his Service and change the MessageReceivers 
accordingly. Well, this can also be justified. He had to do some work before 
adding the RMModule. He has to read the documentation that comes with the 
RMModule and change the MessageReceiver for InOnly operations. But what if 
another module want him to apply some other MessageReceiver for these 
operations.

Thats why I tried to do it without changing the MessageReceiver.

But if there is no other way. Well go for that  :(


Chamikara

> A module should be able to add a response message within the InFlow
> -------------------------------------------------------------------
>
>          Key: AXIS2-235
>          URL: http://issues.apache.org/jira/browse/AXIS2-235
>      Project: Apache Axis 2.0 (Axis2)
>         Type: New Feature
>     Reporter: Chamikara Jayalath

>
> Suppose the user has deployed a Ping Service (with a one-way ping operation) 
> and RM module is deployed. Only the RMHandlers of the in path get called 
> (since the user has set an InOnly message receiver). The RM module may want 
> to send an acknowledgement message as response instead of simply sending 202. 
> So the RMHandlers of the InFlow should be able to set this message beforehand.
> One way to do this is making AbstractInMessageReceiver more flexible. If a 
> response message has been set in the OperationContext (by a handler in the 
> InFlow) the AbstractInMessageReceiver has to work as an InOut message 
> receiver and it should send this message.
> Or is there a better way?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to