activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mrh <mrhayg...@gmail.com>
Subject RE: Openwire or Stomp Tutorial
Date Tue, 23 Oct 2007 15:04:08 GMT

Thanks, Nate!  That is exactly what I was looking for.  Somehow I had
overlooked the constructor.  I had found the consumer's getMessageSelector()
method, but could not find a corresponding setMessageSelector().  I don't
know why I did not check the constructor.  Thanks, again!

mrh




Mittler, Nathan wrote:
> 
> Here's a blurb general use of selectors
> http://activemq.apache.org/selectors.html
> 
> To create a selective consumer in ActiveMQ-CPP, just add the selector
> string in the call to Session.createConsumer
> (http://activemq.apache.org/cms/api_docs/cms-1.0/classcms_1_1_session.ht
> ml#1a342184f514d4bdafd153380e206cce)
> 
> This should work for both stomp and openwire.  There are some quirks in
> stomp, however, that are documented here
> (http://activemq.apache.org/cms/stomp-support.html).
> 
> Regards,
> Nate
> 
>> -----Original Message-----
>> From: mrh [mailto:mrhaygood@gmail.com] 
>> Sent: Tuesday, October 23, 2007 10:02 AM
>> To: users@activemq.apache.org
>> Subject: Openwire or Stomp Tutorial
>> 
>> 
>> I'm trying to get a c++ client working using stomp or 
>> openwire, but am not having any luck.  I need to use a 
>> protocol that supports selectors.  I've search the web, the 
>> forums, and the ActiveMQ website and cannot find an openwire 
>> or stomp tutorial or example code.  I have looked at the 
>> activemq-cpp example code, but cannot find anything on 
>> selectors with CMS. 
>> Can someone point in the direction of example code or a tutorial?
>> 
>> Thanks,
>> mrh
>> --
>> View this message in context: 
>> http://www.nabble.com/Openwire-or-Stomp-Tutorial-tf4677582s235
> 4.html#a13364721
>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Openwire-or-Stomp-Tutorial-tf4677582s2354.html#a13366346
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message