You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by appy <ap...@gmail.com> on 2016/12/12 08:42:08 UTC

Using embedded and standalone, switching on the fly.

Hello,

I am using activeMQ embedded currently and would like to switch to the
standalone version. Can I use both of them simultaneously; switching in
between them on the fly?

How will this affect KahaDB if the Queues and Topics are the same?




--
View this message in context: http://activemq.2283324.n4.nabble.com/Using-embedded-and-standalone-switching-on-the-fly-tp4720120.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Using embedded and standalone, switching on the fly.

Posted by Christopher Shannon <ch...@gmail.com>.
Everything should resume and continue to process messages already in
KahaDB.  It won't overwrite them.  Essentially you should not notice
any difference switching between the two modes because there's nothing
different between a standalone version and embedded version except
that the standalone version uses Spring configuration and a Spring
context to create the BrokerService instead of manually doing it in
embedded mode but the end result is the same.

On Mon, Dec 12, 2016 at 12:34 PM, appy <ap...@gmail.com> wrote:
> The configuration is same; if there are some messages in the queue when I
> switch, what will be the action of embedded to standalone i.e. will the
> standalone version allow the process to consume the messages or will it
> overwrite them?
>
> Delivery mode is set to PERSISTENT; hence I wish to know what will be the
> behavior of KahaDB?
>
> Thanks for the reply.
>
>
>
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/Using-embedded-and-standalone-switching-on-the-fly-tp4720120p4720193.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Using embedded and standalone, switching on the fly.

Posted by appy <ap...@gmail.com>.
The configuration is same; if there are some messages in the queue when I
switch, what will be the action of embedded to standalone i.e. will the
standalone version allow the process to consume the messages or will it
overwrite them? 

Delivery mode is set to PERSISTENT; hence I wish to know what will be the
behavior of KahaDB?

Thanks for the reply.



--
View this message in context: http://activemq.2283324.n4.nabble.com/Using-embedded-and-standalone-switching-on-the-fly-tp4720120p4720193.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Using embedded and standalone, switching on the fly.

Posted by Christopher Shannon <ch...@gmail.com>.
You should be able to switch without an issue as long as your
configuration is the same between your XML config for standalone and
and your embedded config.

On Mon, Dec 12, 2016 at 3:42 AM, appy <ap...@gmail.com> wrote:
> Hello,
>
> I am using activeMQ embedded currently and would like to switch to the
> standalone version. Can I use both of them simultaneously; switching in
> between them on the fly?
>
> How will this affect KahaDB if the Queues and Topics are the same?
>
>
>
>
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/Using-embedded-and-standalone-switching-on-the-fly-tp4720120.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.