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

Ganesh Murthy commented on DISPATCH-2149:
-----------------------------------------

Hello [~rolandroos] it is a mistake that the Qpid Dispatch Router version 
1.10.0 documentation mentions that you can update a listener. Updating 
listeners can lead to unintended consequences, so you are generally not allowed 
to do it. The docs of the latest version of Qpid Dispatch, 1.16.0, has been 
updated as seen here - 
https://qpid.apache.org/releases/qpid-dispatch-1.16.0/user-guide/index.html#enabling-ssl-tls-client-authentication-qdr

Instead of updating a listener, the safe alternative is to delete and re-create 
the listener. Let me know if that works for you.

> qdmanage update on listeners not supported NotImplementedStatus
> ---------------------------------------------------------------
>
>                 Key: DISPATCH-2149
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-2149
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.15.0
>         Environment: Installed Packages
> qpid-dispatch-console.noarch 1.15.0-1.fc33 @updates
> qpid-dispatch-router.x86_64 1.15.0-1.fc33 @updates
> qpid-dispatch-tools.noarch 1.15.0-1.fc33 @updates
> FROM fedora:latest
> # Install QPID
> RUN yum install -y qpid-dispatch-router-1.15.0
> RUN yum install -y qpid-dispatch-console-1.15.0
> RUN yum install -y qpid-dispatch-tools-1.15.0
> #RUN yum install -y qpid-dispatch-tools-1.16.0
> ...
>            Reporter: Roland Roos
>            Priority: Minor
>
> The specs here :
> [https://qpid.apache.org/releases/qpid-dispatch-1.10.0/user-guide/index.html#managing_security]
> suggest that in par 7.5.4
> qdmanage update --name=LISTENER_NAME  --requireSsl=yes
> is possible.
> However, I get a 
> [root@7d50244025b8 /]# qdmanage -d EdgeRouter.producer update 
> --name=listener1 --authenticatePeer=yes
> *NotImplementedStatus: Operation 'UPDATE' not implemented for 
> 'org.apache.qpid.dispatch.listener' ['CREATE', 'DELETE', 'READ']*
> My listener is there:
>  {
>  "metrics": true,
>  "idleTimeoutSeconds": 16,
>  "type": "org.apache.qpid.dispatch.listener",
>  "role": "normal",
>  "requireEncryption": false,
>  "policyVhost": "public",
>  "websockets": true,
>  "messageLoggingComponents": "none",
>  "port": "5672",
>  "maxFrameSize": 16384,
>  "http": false,
>  "multiTenant": false,
>  "initialHandshakeTimeoutSeconds": 0,
>  "identity": "listener/0.0.0.0:5672:listener1",
>  "cost": 1,
>  "healthz": true,
>  "host": "0.0.0.0",
>  "stripAnnotations": "both",
>  "name": "listener1",
>  "maxSessions": 32768,
>  "requireSsl": false,
>  "authenticatePeer": false
>  }
> And the config is :
> listener {
>  name: listener1
>  host: 0.0.0.0
>  port: 5672
>  authenticatePeer: no
> }



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to