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

Martin Ritchie commented on QPID-2111:
--------------------------------------

The java client does not behave in the same way when run with the CPP broker 
and java Broker. 
The java broker has server side filtering and closes the connection on the 
erroneous consume.
The cpp broker does no filtering but the client throws an exception that is 
never reported.

I don't think either are write. The consumer should not be penalised by the 
erroneous publisher, so the connection should stay open, but the client should 
receive an exception. Ideally the publisher should to but that is much harder!

> SelectorTest is split into two and doesn't test runtime selector exceptions
> ---------------------------------------------------------------------------
>
>                 Key: QPID-2111
>                 URL: https://issues.apache.org/jira/browse/QPID-2111
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Java Tests
>    Affects Versions: 0.6
>            Reporter: Aidan Skinner
>            Assignee: Aidan Skinner
>            Priority: Minor
>             Fix For: 0.6
>
>
> SelectorTest exists in two places and only tests parse-time selector errors, 
> not if a runtime error occurs such as trying a mathmatical operation on a 
> string property. 

-- 
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:dev-subscr...@qpid.apache.org

Reply via email to