On Fri, 2015-12-11 at 11:35 -0700, Philippe Le Rohellec wrote:
> I'm looking for example or documentation on how to set a filter
> before
> receiving a message from the qpid_proton ruby gem. So  far my search
> led me
> to this C example: 
> https://gist.github.com/ivanignatiev/3ac6b4bafd1d98022c95
> that refers to the pn_messenger_get_link api which isn't in
> messenger.rb.
> But I see that the gem has Link and Terminus classes so there should
> be way.
> 
> Using a filter is needed to pull messages by offset from Event Hubs.
> 
> Has anyone ever used filters with the ruby gem?

You might want to consider the event-based API rather than messenger.
It provides more complete access to proton and AMQP (including the
links), is quite easy to use, and is likely to be better supported
going forward. Check the ruby reactor examples for more.

Reply via email to