Thanka Justin! This is exactly what I was looking for.

--
Best regards,
Alexander

-----Original Message-----
From: Justin Bertram <jbert...@apache.org>
Sent: Tuesday, September 24, 2024 9:00 PM
To: users@activemq.apache.org
Subject: Re: Question about core consumer parameters

> Is there an explanation of parameters which are logged in this event?

I'm not aware of any documentation explaining the meaning of the parameters. 
However, you can look in the source code to see what the logged values 
represent. For example, in this case you can look at the createConsumer method 
of ServerSessionImpl [1]. The parameters are consumerID, queueName, 
filterString, priority, browseOnly, supportLargeMessage, and credits 
respectively.


Justin

[1]
https://github.com/apache/activemq-artemis/blob/main/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/ServerSessionImpl.java#L549

On Tue, Sep 24, 2024 at 6:31 AM MILOVIDOV Aleksandr 
<aleksandr.milovi...@raiffeisen.ru.invalid> wrote:

> Hi All,
>
> When user connects to Artemis and creates core consumer, event is
> logged to audit journal. Is there an explanation of parameters which
> are logged in this event?
>
> For example, I have two events of creating consumer for queue
> INPUT_QUEUE with filter.
> First is created by application, second is created using
> https://github.com/fmtn/a utility (both using AMQP protocol) and
> browsing the queue.
>
> User user1(amq)@10.0.0.1:12345 is creating a core consumer on target
> resource ServerSessionImpl() with parameters: [0, INPUT_QUEUE,
> AMQUserID='ID:some_uuid', 0, false, false, null] User
> user2(amq)@10.0.0.2:34567 is creating a core consumer on target
> resource ServerSessionImpl() with parameters: [1, INPUT_QUEUE,
> AMQUserID='ID:some-uuid', 0, true, false, null]
>
> --
> Best regards,
> Alexander
>
>
> -----------------------------------
>
> This message and any attachment are confidential and may be privileged
> or otherwise protected from disclosure. If you are not the intended
> recipient any use, distribution, copying or disclosure is strictly
> prohibited. If you have received this message in error, please notify
> the sender immediately either by telephone or by e-mail and delete
> this message and any attachment from your system. Correspondence via
> e-mail is for information purposes only. AO Raiffeisenbank neither
> makes nor accepts legally binding statements by e-mail unless otherwise 
> agreed.
>
> -----------------------------------
>
-----------------------------------

This message and any attachment are confidential and may be privileged or 
otherwise protected from disclosure. If you are not the intended recipient any 
use, distribution, copying or disclosure is strictly prohibited. If you have 
received this message in error, please notify the sender immediately either by 
telephone or by e-mail and delete this message and any attachment from your 
system. Correspondence via e-mail is for information purposes only. AO 
Raiffeisenbank neither makes nor accepts legally binding statements by e-mail 
unless otherwise agreed.

-----------------------------------

Reply via email to