There is no way to forbid sending messages to an address with no bindings.
However, you can set
<send-to-dla-on-no-route>true</send-to-dla-on-no-route> address setting as
appropriate so that any message sent to an address with no bindings will go
to a dead-letter address of your choice. You can also inspect the unrouted
message count metric on the address control to see if messages were sent to
the address when there were no bindings.

Lastly, this is the "dev" list which is for discussion 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 Fri, Jun 14, 2019 at 9:19 AM [email protected] <[email protected]>
wrote:

> Helo, all!
>
> I want to configure Artemis server in such manner that it will forbid
> producing messages with no bindings to any address instead of droping the
> messages. How can i achieve this?
>
> Now i can't be sure the message will be stored on server, because the
> message will be dropped by server if no consumers attached and no
> appropriate queues configured. And i can't determine the message were
> stored or not.
>

Reply via email to