You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by Kerry Bonin <ke...@gmail.com> on 2011/02/08 18:29:11 UTC
Are there any complete examples of durable / persistent transport on Windows?
Appreciate any help...
Re: Are there any complete examples of durable / persistent transport
on Windows?
Posted by Gordon Sim <gs...@redhat.com>.
On 02/08/2011 06:01 PM, Kerry Bonin wrote:
> I'm interested in the classic durable subscription case - two clients and a
> broker, client 2 has a durable subscription to a queue, client 1 sends
> something to that queue while client 2 is disconnected. When client 2
> reconnects it would like to receive the messages it missed. Ideally this
> could include a power cycle of the broker, hence my interest in the database
> persistence module.
For a queue, providing the messages and queue are durable, and the
transfer to the consumer is reliable i.e. acknowledged (which it is by
default for queues), you shouldn't need to do anything further.
> I've enabled the mssql persistence module, but the next steps are unclear -
> I've found conflicting information on how to setup the subscription, and am
> hoping to avoid stepping into the broker to figure out what I'm missing or
> doing wrong.
What are the symptoms you are seeing? Just not having messages
recovered? Are the messages durable?
> We're using the C++ broker and have been building from recent sources.
>
> I'm also curious if there is support / plans for durability on the client
> side - having the client queue sent messages if the broker is temporarily
> offline.
Nothing planned as such (i.e. definite intention to implement expressed)
that I'm aware of, though you are not the first person to mention it.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org
Re: Are there any complete examples of durable / persistent transport
on Windows?
Posted by Kerry Bonin <ke...@gmail.com>.
I'm interested in the classic durable subscription case - two clients and a
broker, client 2 has a durable subscription to a queue, client 1 sends
something to that queue while client 2 is disconnected. When client 2
reconnects it would like to receive the messages it missed. Ideally this
could include a power cycle of the broker, hence my interest in the database
persistence module.
I've enabled the mssql persistence module, but the next steps are unclear -
I've found conflicting information on how to setup the subscription, and am
hoping to avoid stepping into the broker to figure out what I'm missing or
doing wrong.
We're using the C++ broker and have been building from recent sources.
I'm also curious if there is support / plans for durability on the client
side - having the client queue sent messages if the broker is temporarily
offline.
Thanks!
On Tue, Feb 8, 2011 at 11:39 AM, Andrew Stitcher <as...@redhat.com>wrote:
> On Tue, 2011-02-08 at 11:29 -0600, Kerry Bonin wrote:
> > Appreciate any help...
>
> Could you be a little clearer with what you want? In the current qpid
> implementation (in C++ broker at least) durability of messages isn't
> related to the transport (which is a networking concept), but to a
> persistence plugin. I don't know if this is also true for the Java
> broker (if you wanted that) but I'd think it's pretty likely to be true
> there too.
>
> Andrew
>
>
>
> ---------------------------------------------------------------------
> Apache Qpid - AMQP Messaging Implementation
> Project: http://qpid.apache.org
> Use/Interact: mailto:dev-subscribe@qpid.apache.org
>
>
Re: Are there any complete examples of durable / persistent
transport on Windows?
Posted by Andrew Stitcher <as...@redhat.com>.
On Tue, 2011-02-08 at 11:29 -0600, Kerry Bonin wrote:
> Appreciate any help...
Could you be a little clearer with what you want? In the current qpid
implementation (in C++ broker at least) durability of messages isn't
related to the transport (which is a networking concept), but to a
persistence plugin. I don't know if this is also true for the Java
broker (if you wanted that) but I'd think it's pretty likely to be true
there too.
Andrew
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org