activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: Selector not set
Date Fri, 15 Dec 2006 13:40:22 GMT
You could use JMX or Advisory Messages
http://incubator.apache.org/activemq/advisory-message.html

On 12/15/06, Venkatg <venkatabbu@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 <venkatabbu@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/

Mime
View raw message