You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "StefanL (JIRA)" <ji...@apache.org> on 2007/09/05 13:33:25 UTC

[jira] Commented: (AMQNET-44) Selector not being set in NMS when calling Session.CreateConsumer(destination,selector)

    [ https://issues.apache.org/activemq/browse/AMQNET-44?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40076 ] 

StefanL commented on AMQNET-44:
-------------------------------

When fixing this issue with the already attached patch please see the post 
http://www.nabble.com/Empty-message-selector-throws-InvalidSelectorException-tf4377911s2354.html

And especially the answer in the second post with the proposed fix so the consumer behaves as the java one.


> Selector not being set in NMS when calling Session.CreateConsumer(destination,selector)
> ---------------------------------------------------------------------------------------
>
>                 Key: AMQNET-44
>                 URL: https://issues.apache.org/activemq/browse/AMQNET-44
>             Project: ActiveMQ .Net
>          Issue Type: Bug
>          Components: ActiveMQ Client
>            Reporter: Chris Beton
>            Assignee: James Strachan
>            Priority: Minor
>         Attachments: AMQNET-44.patch
>
>
> In Session.cs the two argument call to CreateConsumer should read:-
> public IMessageConsumer CreateConsumer(IDestination destination, string selector)
> {
>     return CreateConsumer(destination, selector, false);
> }
> At present the second argument is null.

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