You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by Alan Conway <ac...@redhat.com> on 2012/07/12 23:13:27 UTC

Review Request: QPID-4107 HA does not replicate alternate-exchange

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/5919/
-----------------------------------------------------------

Review request for qpid and Gordon Sim.


Description
-------

    Set alternate exchange on replicated queues and exchanges.  If the exchange is
    available, set it immediately. Otherwise remember what needs to be set so it can
    be set when the exchange becomes available.


Diffs
-----

  /trunk/qpid/cpp/src/CMakeLists.txt 1360348 
  /trunk/qpid/cpp/src/ha.mk 1360348 
  /trunk/qpid/cpp/src/qpid/ha/AlternateExchangeSetter.h PRE-CREATION 
  /trunk/qpid/cpp/src/qpid/ha/BrokerReplicator.h 1360348 
  /trunk/qpid/cpp/src/qpid/ha/BrokerReplicator.cpp 1360348 
  /trunk/qpid/cpp/src/tests/ha_tests.py 1360348 

Diff: https://reviews.apache.org/r/5919/diff/


Testing
-------


Thanks,

Alan Conway


Re: Enquiry regarding QPID Persistence

Posted by Gordon Sim <gs...@redhat.com>.
On 07/13/2012 11:00 AM, wielly wrote:
> Dear Developers,
>
> Can anyone please suggest how to activate/install qpid-persistence, so my
> queues wont destroyed once my broker has stopped?
>
> I am using windows qpid broker cpp [QPID 0.16]
> Thank you

Essentially you need a 'store' module installed. If you are running on 
windows, there is one included in along side the broker. If you are 
running on Linux the module is currently held separately (depending on 
which distribution there may also be prebuilt packages available).

Have a look at https://cwiki.apache.org/qpid/faq.html#FAQ-Persistence 
which gives the urls and revisions etc for building the store. Shout if 
you still have questions.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


RE: Enquiry regarding QPID Persistence

Posted by Steve Huston <sh...@riverace.com>.
Hi Willy,

> Can anyone please suggest how to activate/install qpid-persistence, so
my
> queues wont destroyed once my broker has stopped?
>
> I am using windows qpid broker cpp [QPID 0.16] Thank you

The persistence module is included in the Windows source, so you probably
built it. It requires Microsoft SQL Server Express 2005 or newer. To load
the persistence modules at run time, add to your broker start-up options:

--load-module <path-to-your-built-dlls>\store.dll --load-module
<path-to-your-built-dlls>\mssql_store.dll

If you plan to use the CLFS-based store instead of the SQL-only store,
change the second option to:

--load-module <path-to-your-built-dlls>\msclfs_store.dll

After that, your code will need to create persistent queues and when you
send messages they must be persistent as well, or they won't be placed in
the store.

-Steve

--
Steve Huston, Riverace Corporation
Total Lifecycle Support for Your Networked Applications
http://www.riverace.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Enquiry regarding QPID Persistence

Posted by wielly <wi...@weikegaming.com>.
Dear Developers,

Can anyone please suggest how to activate/install qpid-persistence, so my
queues wont destroyed once my broker has stopped? 

I am using windows qpid broker cpp [QPID 0.16]  
Thank you


Best Regards

Willy


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Re: Review Request: QPID-4107 HA does not replicate alternate-exchange

Posted by Gordon Sim <gs...@redhat.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/5919/#review9133
-----------------------------------------------------------

Ship it!


Ship It!

- Gordon Sim


On July 12, 2012, 9:13 p.m., Alan Conway wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/5919/
> -----------------------------------------------------------
> 
> (Updated July 12, 2012, 9:13 p.m.)
> 
> 
> Review request for qpid and Gordon Sim.
> 
> 
> Description
> -------
> 
>     Set alternate exchange on replicated queues and exchanges.  If the exchange is
>     available, set it immediately. Otherwise remember what needs to be set so it can
>     be set when the exchange becomes available.
> 
> 
> Diffs
> -----
> 
>   /trunk/qpid/cpp/src/CMakeLists.txt 1360348 
>   /trunk/qpid/cpp/src/ha.mk 1360348 
>   /trunk/qpid/cpp/src/qpid/ha/AlternateExchangeSetter.h PRE-CREATION 
>   /trunk/qpid/cpp/src/qpid/ha/BrokerReplicator.h 1360348 
>   /trunk/qpid/cpp/src/qpid/ha/BrokerReplicator.cpp 1360348 
>   /trunk/qpid/cpp/src/tests/ha_tests.py 1360348 
> 
> Diff: https://reviews.apache.org/r/5919/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Alan Conway
> 
>