You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Venkatg <ve...@yahoo.com> on 2006/12/14 14:38:24 UTC

Selector not set

Hi,

 The selector is not getting set so client is not getting required messages.
How do I check from client whether the given selector is set on the server
or not. I see following in the log 

2006-09-05 16:45:48,930 | DEBUG | ActiveMQ Transport:
tcp:///10.10.10.36:36005 | DemandForwardingBridge:386 | Ignoring sub
ConsumerInfo {commandId = 12, responseRequired = true, consumerId =
ID:L3-BFNE3-1825-1157454683315-0:0:1:4, destination = topic://AVC,
prefetchSize = 32766, maximumPendingMessageLimit = 0, browser = false,
dispatchAsync = false, selector = (MD4=TRUE OR MD3=TRUE) AND (MoTypeNum =
501  OR  ((NodeNumber=105) AND MoTypeNum BETWEEN 1001 AND 1500) OR 
((NodeNumber=105) AND MoTypeNum BETWEEN 2001 AND 3000) OR ( (
NodeNumber=105) AND MoTypeNum BETWEEN 1501 AND 2000 )), subcriptionName =
null, noLocal = false, exclusive = false, retroactive = false, priority = 0,
brokerPath = [ID:SWNM-BLADE-36-34851-1157453869692-0:0],
optimizedAcknowledge = false, noRangeAcks = false, additionalPredicate =
null} already subscribed to matching destination

Thanks
 Venkat
-- 
View this message in context: http://www.nabble.com/Selector-not-set-tf2820613.html#a7872523
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: Selector not set

Posted by James Strachan <ja...@gmail.com>.
You could use JMX or Advisory Messages
http://incubator.apache.org/activemq/advisory-message.html

On 12/15/06, Venkatg <ve...@yahoo.com> wrote:
>
>
> Hi James,
>
>   How do I check subscription on the broker prgramtically from the
> client(consumer)?
>
> Thanks
>  Venkat
>
> James.Strachan wrote:
> >
> > A selector is not required to receive messages. You can use JMX /
> > JConsole to look at all the subscriptions on the broker
> >
> > On 12/14/06, Venkatg <ve...@yahoo.com> wrote:
> >>
> >> Hi,
> >>
> >>  The selector is not getting set so client is not getting required
> >> messages.
> >> How do I check from client whether the given selector is set on the
> >> server
> >> or not. I see following in the log
> >>
> >> 2006-09-05 16:45:48,930 | DEBUG | ActiveMQ Transport:
> >> tcp:///10.10.10.36:36005 | DemandForwardingBridge:386 | Ignoring sub
> >> ConsumerInfo {commandId = 12, responseRequired = true, consumerId =
> >> ID:L3-BFNE3-1825-1157454683315-0:0:1:4, destination = topic://AVC,
> >> prefetchSize = 32766, maximumPendingMessageLimit = 0, browser = false,
> >> dispatchAsync = false, selector = (MD4=TRUE OR MD3=TRUE) AND (MoTypeNum =
> >> 501  OR  ((NodeNumber=105) AND MoTypeNum BETWEEN 1001 AND 1500) OR
> >> ((NodeNumber=105) AND MoTypeNum BETWEEN 2001 AND 3000) OR ( (
> >> NodeNumber=105) AND MoTypeNum BETWEEN 1501 AND 2000 )), subcriptionName =
> >> null, noLocal = false, exclusive = false, retroactive = false, priority =
> >> 0,
> >> brokerPath = [ID:SWNM-BLADE-36-34851-1157453869692-0:0],
> >> optimizedAcknowledge = false, noRangeAcks = false, additionalPredicate =
> >> null} already subscribed to matching destination
> >>
> >> Thanks
> >>  Venkat
> >> --
> >> View this message in context:
> >> http://www.nabble.com/Selector-not-set-tf2820613.html#a7872523
> >> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
> >>
> >>
> >
> >
> > --
> >
> > James
> > -------
> > http://radio.weblogs.com/0112098/
> >
> >
>
> --
> View this message in context: http://www.nabble.com/Selector-not-set-tf2820613.html#a7886237
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>


-- 

James
-------
http://radio.weblogs.com/0112098/

Re: Selector not set

Posted by Venkatg <ve...@yahoo.com>.

Hi James,

  How do I check subscription on the broker prgramtically from the
client(consumer)?

Thanks
 Venkat

James.Strachan wrote:
> 
> A selector is not required to receive messages. You can use JMX /
> JConsole to look at all the subscriptions on the broker
> 
> On 12/14/06, Venkatg <ve...@yahoo.com> wrote:
>>
>> Hi,
>>
>>  The selector is not getting set so client is not getting required
>> messages.
>> How do I check from client whether the given selector is set on the
>> server
>> or not. I see following in the log
>>
>> 2006-09-05 16:45:48,930 | DEBUG | ActiveMQ Transport:
>> tcp:///10.10.10.36:36005 | DemandForwardingBridge:386 | Ignoring sub
>> ConsumerInfo {commandId = 12, responseRequired = true, consumerId =
>> ID:L3-BFNE3-1825-1157454683315-0:0:1:4, destination = topic://AVC,
>> prefetchSize = 32766, maximumPendingMessageLimit = 0, browser = false,
>> dispatchAsync = false, selector = (MD4=TRUE OR MD3=TRUE) AND (MoTypeNum =
>> 501  OR  ((NodeNumber=105) AND MoTypeNum BETWEEN 1001 AND 1500) OR
>> ((NodeNumber=105) AND MoTypeNum BETWEEN 2001 AND 3000) OR ( (
>> NodeNumber=105) AND MoTypeNum BETWEEN 1501 AND 2000 )), subcriptionName =
>> null, noLocal = false, exclusive = false, retroactive = false, priority =
>> 0,
>> brokerPath = [ID:SWNM-BLADE-36-34851-1157453869692-0:0],
>> optimizedAcknowledge = false, noRangeAcks = false, additionalPredicate =
>> null} already subscribed to matching destination
>>
>> Thanks
>>  Venkat
>> --
>> View this message in context:
>> http://www.nabble.com/Selector-not-set-tf2820613.html#a7872523
>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>
>>
> 
> 
> -- 
> 
> James
> -------
> http://radio.weblogs.com/0112098/
> 
> 

-- 
View this message in context: http://www.nabble.com/Selector-not-set-tf2820613.html#a7886237
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: Selector not set

Posted by James Strachan <ja...@gmail.com>.
A selector is not required to receive messages. You can use JMX /
JConsole to look at all the subscriptions on the broker

On 12/14/06, Venkatg <ve...@yahoo.com> wrote:
>
> Hi,
>
>  The selector is not getting set so client is not getting required messages.
> How do I check from client whether the given selector is set on the server
> or not. I see following in the log
>
> 2006-09-05 16:45:48,930 | DEBUG | ActiveMQ Transport:
> tcp:///10.10.10.36:36005 | DemandForwardingBridge:386 | Ignoring sub
> ConsumerInfo {commandId = 12, responseRequired = true, consumerId =
> ID:L3-BFNE3-1825-1157454683315-0:0:1:4, destination = topic://AVC,
> prefetchSize = 32766, maximumPendingMessageLimit = 0, browser = false,
> dispatchAsync = false, selector = (MD4=TRUE OR MD3=TRUE) AND (MoTypeNum =
> 501  OR  ((NodeNumber=105) AND MoTypeNum BETWEEN 1001 AND 1500) OR
> ((NodeNumber=105) AND MoTypeNum BETWEEN 2001 AND 3000) OR ( (
> NodeNumber=105) AND MoTypeNum BETWEEN 1501 AND 2000 )), subcriptionName =
> null, noLocal = false, exclusive = false, retroactive = false, priority = 0,
> brokerPath = [ID:SWNM-BLADE-36-34851-1157453869692-0:0],
> optimizedAcknowledge = false, noRangeAcks = false, additionalPredicate =
> null} already subscribed to matching destination
>
> Thanks
>  Venkat
> --
> View this message in context: http://www.nabble.com/Selector-not-set-tf2820613.html#a7872523
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>


-- 

James
-------
http://radio.weblogs.com/0112098/