The broker will send the client a list of known urls (this is mainly useful in clustering where the list is also updated via broadcasts to a special exchange). Only TCP urls are supported at present.p
See qpid/Address.h,.cpp. There are currently 2 address formats, "TcpAddress" and a dummy "ExampleAddress" that is there to test multi-protocol URL parsing and demonstrate how to add parsing for a new format. ExampleAddress should be removed as soon as there is a second real protocol format. The current code does *not* provide a link from Address types to the protocol keys of the protocol plugin, nor does it allow for protocols that were unknown at the time Url.cpp was compiled to be contributed by plugins. We *can* do this under the same API but we need to change the variant to a Blob and add some traits templates. For next release we have a fixed set of protocols. We need the link to the protocol keys so that we can open connections with URLs but we can live without unknown protocols contributed by plug-ins till the follow update.
I was checking the Address.h header for indication what is the new url syntax for old and new API, the qpid::messaging::Address class changed, but I was not able to find the syntax. Is there somewhere few words what is the current supported syntax? putting NEEDINFO
See https://issues.apache.org/jira/browse/QPID-2591
Fixed in r943975, tested for SSL. Can't test with RDMA at the moment as the RDMA support is broken.
# qpidd --auth=no --no-module-dir --load-module /usr/lib64/qpid/daemon/rdma.so --load-module /usr/lib64/qpid/daemon/cluster.so --known-hosts-url amqp:rdma:192.168.55.26 --cluster-name=ahoj --cluster-url amqp:rdma:192.168.55.26 # qpid-stat -b Brokers broker cluster uptime conn sess exch queue =================================================================== 192.168.55.26:5672 ahoj(ACTIVE) 10s 1 1 8 5 # qpid-cluster Cluster Name: ahoj Cluster Status: ACTIVE Cluster Size: 1 Members: ID=192.168.55.26:20679 URL=amqp:rdma:192.168.55.26:5672
# qpidd --auth=no --no-module-dir --load-module /usr/lib64/qpid/daemon/rdma.so --load-module /usr/lib64/qpid/daemon/cluster.so --known-hosts-url amqp:rdma:192.168.55.26 --cluster-name=ahoj --cluster-url amqp:rdma:192.168.55.26 2010-07-09 04:12:33 notice Initializing CPG 2010-07-09 04:12:33 critical Unexpected error: Invalid URL: amqp:rdma:192.168.55.26 (qpid/Url.cpp:191) # rpm -q qpid-cpp-server-cluster qpid-cpp-server-cluster-0.7.935473-1.el5
Verified on qpid-cpp-server-cluster-0.7.946106-6.el5
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: Both Secure Sockets Layer (SSL) and Remote Direct Memory Access (RDMA) entries can now appear in the list of known URLs.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2010-0773.html