You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Gordon Sim (Resolved) (JIRA)" <ji...@apache.org> on 2011/10/20 17:43:11 UTC

[jira] [Resolved] (QPID-2551) python client cannot create a receiver to the xml exchange

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

Gordon Sim resolved QPID-2551.
------------------------------

    Resolution: Fixed

Fixed by http://svn.apache.org/viewvc?view=revision&revision=1056473
                
> python client cannot create a receiver to the xml exchange
> ----------------------------------------------------------
>
>                 Key: QPID-2551
>                 URL: https://issues.apache.org/jira/browse/QPID-2551
>             Project: Qpid
>          Issue Type: Bug
>          Components: Python Client
>    Affects Versions: 0.7
>            Reporter: Gordon Sim
>            Assignee: Rafael H. Schloming
>
> E.g. drain -f "xml; {link:{x-bindings: [{exchange: xml,key:"content_feed",arguments:{xquery:\"declare variable \$control external; ./message/id mod 2 = 1 or \$control = 'end'\"}}]}}"
> this fails as there is an extra bind request created with no arguments, which the XML exchange rejects as invalid.
> broker log:
> 2010-04-27 09:59:54 trace RECV [127.0.0.1:48880]: Frame[BEbe; channel=0; {QueueDeclareBody: queue=6a6be132-7e41-4506-a651-d7dd27055a28:0.0; exclusive=1; auto-delete=1; }]
> 2010-04-27 09:59:54 info Queue "6a6be132-7e41-4506-a651-d7dd27055a28:0.0": Policy created: type=reject; maxCount=0; maxSize=104857600
> 2010-04-27 09:59:54 trace RECV [127.0.0.1:48880]: Frame[BEbe; channel=0; {ExchangeBindBody: queue=6a6be132-7e41-4506-a651-d7dd27055a28:0.0; exchange=xml; }]  <====== this is the problem
> 2010-04-27 09:59:54 error Execution exception: internal-error: Could not parse xquery: (../../src/qpid/xml/XmlExchange.cpp:118)
> 2010-04-27 09:59:54 trace RECV [127.0.0.1:48880]: Frame[BEbe; channel=0; {ExchangeBindBody: queue=message_queue; exchange=xml; binding-key=content_feed; arguments={xquery:V2:78:str16(declare variable $control external; ./message/id mod 2 = 1 or $control = 'end')}; }]
> 2010-04-27 09:59:54 trace RECV [127.0.0.1:48880]: Frame[BEbe; channel=0; {MessageSubscribeBody: queue=6a6be132-7e41-4506-a651-d7dd27055a28:0.0; destination=0; acquire-mode=0; }]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org