You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Hiranya Jayathilaka (JIRA)" <ji...@apache.org> on 2009/09/10 12:34:57 UTC

[jira] Commented: (SYNAPSE-310) Axis2FlexibleMEPClient.send logs misleading debug message

    [ https://issues.apache.org/jira/browse/SYNAPSE-310?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12753550#action_12753550 ] 

Hiranya Jayathilaka commented on SYNAPSE-310:
---------------------------------------------

Hi George,

Thanks for the patch. 

Just a minor improvement: As mentioned in Ruwan's comment it's better if we can have a conditional to check whether the endpoint address is not null. If it is null we should log the Synapse message context's To address.

> Axis2FlexibleMEPClient.send logs misleading debug message
> ---------------------------------------------------------
>
>                 Key: SYNAPSE-310
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-310
>             Project: Synapse
>          Issue Type: Bug
>          Components: Core
>            Reporter: Andreas Veithen
>            Assignee: Ruwan Linton
>            Priority: Minor
>             Fix For: 1.3
>
>         Attachments: Axis2FlexibleMEPClient.patch
>
>
> Axis2FlexibleMEPClient.send logs a debug message like this:
> DEBUG Axis2FlexibleMEPClient Sending [add = false] [sec = false] [rm = false] [ mtom = false] [ swa = false] [ format = null] [ force soap11=false] [ force soap12=false] [ pox=false] [ get=false] [ encoding=null] [ to Address: http://www.w3.org/2005/08/addressing/anonymous]
> The "to" address is retrieved using synapseOutMessageContext.getTo(). However, this address is changed later in the code if the EndpointDefinition has a non null address property. Therefore the debug message doesn't show the real destination of the message (as in the example above). This is very misleading.

-- 
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: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org