You can use selector="client in(1,2,3,4)"



--- In [email protected], "Amit Gupta" <subscript...@...> wrote:
>
> Hi,
> 
> I am trying to filter messages flex consumer is receiving from a JMS 
> topic.
> 
> In the header of the message I am specifying a client's id. While 
> subscribing to the topic I specify 
> 
> <mx:Consumer id="consumer" destination="alert" message="messageHandler
> (event)" selector="client =1"/>
> 
> this runs fine. But now I want to filter on a list of clients. I want 
> to receive messages for clients 1,2 and 3. Documentation says that 
> selector accepts SQL92 conditions so I specified
> 
> selector="client in (1,2,3)"
> 
> but this doesn't work. Any idea how I can filter for a list of 
> clients?
> 
> Regards,
> Amit
>


Reply via email to