You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Freeman Fang (JIRA)" <ji...@apache.org> on 2011/03/23 11:08:07 UTC

[jira] [Commented] (CXF-3412) ManagedEndpoint.getTransportId return endpoint address

    [ https://issues.apache.org/jira/browse/CXF-3412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13010042#comment-13010042 ] 

Freeman Fang commented on CXF-3412:
-----------------------------------

Yeah, it's a bug, patch is always welcome!

Freeman

> ManagedEndpoint.getTransportId return endpoint address
> ------------------------------------------------------
>
>                 Key: CXF-3412
>                 URL: https://issues.apache.org/jira/browse/CXF-3412
>             Project: CXF
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.2
>            Reporter: David Liu
>
> Is it a bug that ManagedEndpoint.getTransportId() just return the endpoint's address. I would expect it return endpoint.getTransportId()
> {code}
>  ManagedEndpoint{   
>     @ManagedAttribute(description = "TransportId Attribute", currencyTimeLimit = 60)
>     public String getTransportId() {
>         return endpoint.getEndpointInfo().getAddress();
>     }
>     @ManagedAttribute(description = "Address Attribute", currencyTimeLimit = 60)
>     public String getAddress() {
>         return endpoint.getEndpointInfo().getAddress();
>     }
>  }
> {code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira