[ 
https://issues.apache.org/jira/browse/QPID-2860?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12912704#action_12912704
 ] 

Steve Huston commented on QPID-2860:
------------------------------------

I think I know what's going on with this, but could someone with more exposure 
to the internals of qpidmessaging weigh in here please?

The qpid/cpp/examples/xml-exchange example works correctly (only the 
xquery-selected records are received). The differences I see between that 
example and hello_xml is that when the exchange is bound, the xquery entry in 
the arguments are encoded as str16 in the working example (using the older qpid 
client API) and vbin16 in hello_xml (using the new messaging API).


> C++ hello_xml example receives all message content, not just what's wanted
> --------------------------------------------------------------------------
>
>                 Key: QPID-2860
>                 URL: https://issues.apache.org/jira/browse/QPID-2860
>             Project: Qpid
>          Issue Type: Bug
>          Components: Qpid Examples
>    Affects Versions: 0.7
>         Environment: Linux (RHEL 5), Qpid svn trunk, xerces-c-2.7.0-8.el5
>            Reporter: Steve Huston
>            Priority: Minor
>
> In using the qpid/cpp/examples/messaging/hello_xml.cpp example to figure 
> something out, I changed the sent message's <station> element to Boston. This 
> should cause the message to not pass the XQuery set in the receiver. But when 
> executed, the "Boston" message is still received.
> $ ./hello_xml
> <weather><station>Boston 
> (BOS)</station><wind_speed_mph>16</wind_speed_mph><temperature_f>70</temperature_f><dewpoint>35</dewpoint></weather>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to