You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Brandon W Sheffield (JIRA)" <ji...@apache.org> on 2017/04/19 02:54:41 UTC
[jira] [Commented] (PROTON-1463) Golang AMQP URL incompatable with
Qpid Cpp Broker. Node not found: /address when using Qpid C++ Broker
[ https://issues.apache.org/jira/browse/PROTON-1463?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15973967#comment-15973967 ]
Brandon W Sheffield commented on PROTON-1463:
---------------------------------------------
After comparing it to other example programs. The URL is not being correctly parsed for the address. It prepends a slash character before the address like: /addressName instead of addressName.
I tried debugging the url.go file but with no success. When I modified the file, I would get errors related to go-bindings losing reference to c-bindings or something related...
go run receive.go
# qpid.apache.org/proton
/tmp/go-build777523274/qpid.apache.org/proton/_obj/wrappers.cgo2.o: In function `_cgo_123a2b65fcb1_Cfunc_pn_dtag':
../../../proton-c/bindings/go/src/qpid.apache.org/proton/cgo-gcc-prolog:155: undefined reference to `pn_dtag'
collect2: error: ld returned 1 exit status
> Golang AMQP URL incompatable with Qpid Cpp Broker. Node not found: /address when using Qpid C++ Broker
> -------------------------------------------------------------------------------------------------------
>
> Key: PROTON-1463
> URL: https://issues.apache.org/jira/browse/PROTON-1463
> Project: Qpid Proton
> Issue Type: Bug
> Components: go-binding
> Affects Versions: 0.17.0
> Reporter: Brandon W Sheffield
> Assignee: Alan Conway
>
> Go examples not compatible with Qpid C++ broker version 1.36.
> With qpidd running as a daemon, running the go "receive" binary example with no address will work:
> ./receive localhost:5672
> Listening on 1 connections
> But if provided a address, will get error:
> ./receive localhost:5672/address
> Listening on 1 connections
> 2017/04/18 13:30:54 receive error %v: %vlocalhost:5672/addressamqp:not-found: Node not found: /address
> Qpid C++ Broker spits out error:
> [Protocol] error Error on attach: Node not found: /address
> Does not behave like this when using the provided Go example broker binary instead of Qpid C++ broker.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org