You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by Martijn Hiemstra <ma...@gmail.com> on 2019/06/19 11:41:40 UTC
createQueue not working with cluster
I have a Spring boot project that when starting creates the neccessary
queues on a artemis server. This works with a standalone artemis. We send a
create queue request to the artemis manager using createQueue as the
operationName and that works. However when we call the createQueue command
when using a artemis cluster the queue's aren't created on any of the
nodes.
How can we tell the artemis cluster to create the queue on all the nodes?
Without having to manually create the queue on all the nodes? Can we send a
command to the artemis manager to request the creation of queue's on all
the nodes?
Thanks sincerly,
Martijn
Re: createQueue not working with cluster
Posted by Andrew Carr <an...@gmail.com>.
And the auto create function with the current version of Artemis works, it
will create the queues in any broker in the cluster, when the queue is
accessed.
-Andrew
On Wed, Jun 19, 2019 at 11:09 AM Justin Bertram <jb...@apache.org> wrote:
> There is no way to command an entire cluster to perform a particular
> operation. However, Artemis will automatically create queues and addresses
> as necessary by default. Is there a particular reason you wouldn't leverage
> the auto-creation functionality?
>
> On another note, this is the "dev" list which is for discussions about
> broker development, not about broker usage. You should use the "user" list
> [1] in the future for questions like this.
>
>
> Justin
>
> [1] http://activemq.apache.org/contact/#mailing
>
> On Wed, Jun 19, 2019 at 9:56 AM Martijn Hiemstra <
> martyn.hiemstra@gmail.com>
> wrote:
>
> > I have a Spring boot project that when starting creates the neccessary
> > queues on a artemis server. This works with a standalone artemis. We
> send a
> > create queue request to the artemis manager using createQueue as the
> > operationName and that works. However when we call the createQueue
> command
> > when using a artemis cluster the queue's aren't created on any of the
> > nodes.
> >
> > How can we tell the artemis cluster to create the queue on all the nodes?
> > Without having to manually create the queue on all the nodes? Can we
> send a
> > command to the artemis manager to request the creation of queue's on all
> > the nodes?
> >
> > Thanks sincerly,
> > Martijn
> >
>
--
With Regards,
Andrew Carr
e. andrewlanecarr@gmail.com
w. andrew.carr@openlogic.com
c. 4239489206
a. P.O. Box 1231, Greeneville, TN, 37744
Re: createQueue not working with cluster
Posted by Justin Bertram <jb...@apache.org>.
There is no way to command an entire cluster to perform a particular
operation. However, Artemis will automatically create queues and addresses
as necessary by default. Is there a particular reason you wouldn't leverage
the auto-creation functionality?
On another note, this is the "dev" list which is for discussions about
broker development, not about broker usage. You should use the "user" list
[1] in the future for questions like this.
Justin
[1] http://activemq.apache.org/contact/#mailing
On Wed, Jun 19, 2019 at 9:56 AM Martijn Hiemstra <ma...@gmail.com>
wrote:
> I have a Spring boot project that when starting creates the neccessary
> queues on a artemis server. This works with a standalone artemis. We send a
> create queue request to the artemis manager using createQueue as the
> operationName and that works. However when we call the createQueue command
> when using a artemis cluster the queue's aren't created on any of the
> nodes.
>
> How can we tell the artemis cluster to create the queue on all the nodes?
> Without having to manually create the queue on all the nodes? Can we send a
> command to the artemis manager to request the creation of queue's on all
> the nodes?
>
> Thanks sincerly,
> Martijn
>