axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thilina Gunarathne (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AXIS2-3580) Non Blocking Dual Channel fails if MsgContext already had an replyTo Epr set to anonymous
Date Fri, 07 Mar 2008 18:57:46 GMT

    [ https://issues.apache.org/jira/browse/AXIS2-3580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12576327#action_12576327
] 

Thilina Gunarathne commented on AXIS2-3580:
-------------------------------------------

Ok..Here's the scenario..  I'm altering the Axis2 client of a workflow engine.. The engine
by default sets the replyTo epr to anonymous.. Then at the Axis2 level I try to do a non blocking
dual channel call. In this scenario Axis2 should setup a new listener to receive the response
and set it's epr as the reply to EPR.. But in this case Axis2 does not do it, and set the
replyTo EPR as anon..  Then my client just keeps on waiting.. 
       
       <addr:ReplyTo xmlns:addr="http://www.w3.org/2005/08/addressing">
            <addr:Address>http://www.w3.org/2005/08/addressing/anonymous</addr:Address>
         </addr:ReplyTo>

> Non Blocking Dual Channel fails if MsgContext already had an replyTo Epr set to anonymous
> -----------------------------------------------------------------------------------------
>
>                 Key: AXIS2-3580
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3580
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>            Reporter: Thilina Gunarathne
>            Priority: Critical
>
> OutInAxisOperation line 265 (in 1.3 release code).
>         if (useCustomListener == null || !useCustomListener.booleanValue()) {
>  >>           if(mc.getReplyTo()==null){
>                 EndpointReference replyToFromTransport =
>                         mc.getConfigurationContext().getListenerManager().
>                                 getEPRforService(sc.getAxisService().getName(),
>                                         axisOp.getName().getLocalPart(), mc
>                                         .getTransportIn().getName());
>                 if (mc.getReplyTo() == null) {
>                     mc.setReplyTo(replyToFromTransport);
>                 } else {
>                     mc.getReplyTo().setAddress(replyToFromTransport.getAddress());
>                 }
>             }
>         } 
> >> line should be as follows
>  if(mc.getReplyTo()==null | replyTo.hasNoneAddress()){

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message