On 3/25/13 8:26 PM, Rafael Schloming wrote:
On Mon, Mar 25, 2013 at 3:06 PM, Bozo Dragojevic<bo...@digiverse.si> wrote:
did you consider a variant where a user can supply a rewrite object?
pn_messenger_set_router(pn_**messenger_t *msgr, pn_router_t *router)
Proton library can then easily supply a one or more ready-made
I did consider this, but it's difficult to expose an interface like that
I didn't want to suggest to go that far right now. It should be enough
to expose the default implementation as
I agree it's difficult to expose a mechanism to define
a custom pn_router_t* in a scripting language. This is a separate
task and can be done later. It'd probably make sense to wait with
that until the interface between the router and the messenger firms up.