[
http://issues.apache.org/jira/browse/AXIS2-582?page=comments#action_12376771 ]
Gopal Patwa commented on AXIS2-582:
-----------------------------------
Any plans for AbstractInOnlyAsyncMessageReceiver. I have check source code but
unable to fine InOnly Async receiver.
We need to use InOnly receiver for BPEL async process, I have a copy
AbstractInOutAsyncMessageReceiver and Utils classes in my service with minor
fix to Utils class
>From AbstractInOnlyAsyncMessageReceiver line 58:
MessageContext newmsgCtx =
Utils.createOutMessageContext(messageCtx);
I made some changes to Utils.createOutMessageContext(messageCtx) to make it
work not sure that is correct approach.
Added out only operation to new message context in Utils class
OutOnlyAxisOperation outOnly = new OutOnlyAxisOperation();
OperationContext optCtx = new OperationContext(outOnly);
// newmsgCtx.setOperationContext(inMessageContext.getOperationContext());
newmsgCtx.setOperationContext(optCtx);
//newmsgCtx.setServiceContext(inMessageContext.getServiceContext());
Thanks
Gopal Patwa
> Default async message receiver needed for inonly MEP
> ----------------------------------------------------
>
> Key: AXIS2-582
> URL: http://issues.apache.org/jira/browse/AXIS2-582
> Project: Apache Axis 2.0 (Axis2)
> Type: Wish
> Reporter: robert lazarski
> Assignee: Deepal Jayasinghe
> Fix For: 1.0
>
> Per jira AXIS2-304 and long running tasks timing out even though its inOnly,
> the issued is resolved but you have to write your own message receiver that
> extends AbstractInOutAsyncMessageReceiver. There is a test case,
> modules/integration/test/org/apache/axis2/async/AsyncMessageReceiver.java .
> It would be nice if we had a receiver for Async InOnly . Deepal mentioned
> "before the next release I will implement them all :) "
--
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