You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2014/04/30 10:50:15 UTC

[jira] [Resolved] (CXF-5718) Suppose to override the instance.id of the managed endpoint

     [ https://issues.apache.org/jira/browse/CXF-5718?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Willem Jiang resolved CXF-5718.
-------------------------------

    Resolution: Fixed

Applied the patch into cxf master, 2.7.x-fixes and 2.6.x-fixes.
Now we can set the persistent instance id just like this.
{code}
<jaxws:endpoint 
                id="sampleWs" address="http://0.0.0.0:9000/smtest"
                serviceName="HelloWorld" endpointName="SOAPOverHTTP"
                implementor="#sampleWebServiceImpl"
                 bus="my-soap-test">
             <jaxws:properties>
                   <!-- setup the persistent instance id -->
                   <entry key="managed.instance.id" value="myEndpoint" />
             </jaxws:properties>
        </jaxws:endpoint>
{code}

> Suppose to override the instance.id of the managed endpoint
> -----------------------------------------------------------
>
>                 Key: CXF-5718
>                 URL: https://issues.apache.org/jira/browse/CXF-5718
>             Project: CXF
>          Issue Type: Improvement
>          Components: Management
>            Reporter: Willem Jiang
>            Assignee: Willem Jiang
>             Fix For: 2.6.15, 2.7.12, 3.0.0
>
>
> CXF-4399 introduced an issue that the CXF endpoint object name is not persistent, and it could cause some trouble for the user to manage the endpoint which is started and stopped in multiple time.
> It could be easier to system management if we support to override the default instance.id with a persistent one.



--
This message was sent by Atlassian JIRA
(v6.2#6252)