You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Ruwan Linton (JIRA)" <ji...@apache.org> on 2008/05/13 08:00:56 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=12596290#action_12596290 ] 

Ruwan Linton commented on SYNAPSE-310:
--------------------------------------

Yes, we can get the address of the endpoint if specified using the endpoint.getAddress(), and add a conditional to switch between messageContext to address and the received 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
>            Priority: Minor
>             Fix For: 1.3
>
>
> 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