If you want to prevent messages from being read by people other than the
intended recipient, whether on the web console or elsewhere, the standard
way to do that is to encrypt the message when sending and then have the
intended recipient decrypt it upon receipt.

Or you can limit access to the web console to only trusted admins who are
allowed to see these messages.

Tim

On Mon, Jan 31, 2022, 10:18 PM Pattamadai, Sundar <
[email protected]> wrote:

> Hello,
> We binary serialize a C# object (which contains soap XML) and store it
> into a queue using ActiveMQBytesMessage class.   (We are a .net/c# shop
> hence using activemq nms .net client against activemq 5.16.3)
>
> Snippet here as an example.
>
> byte[]  msgBytes = payload.Content as byte[];  //payload is our C# object
>
> using (ISession session = connection.CreateSession())
> {
>                  IMessageProducer prod = session.CreateProducer(
>                  new
> Apache.NMS.ActiveMQ.Commands.ActiveMQQueue(queueName));
>                  ActiveMQBytesMessage aqbytes = new ActiveMQBytesMessage();
>                  aqbytes.Content = msgBytes;
>                  IMessage msg = aqbytes;
>                  msg.NMSDeliveryMode = MsgDeliveryMode.Persistent;
>                  prod.Send(msg);
> }
>
> Now in the ActiveMQ web console, when viewing the message, the message
> details box shows the bytes content mostly in plain text.   We have some
> sensitive information we don't want it displayed in plain text.  Are there
> any options in the web console to accomplish this? Or some other approach?
>
>
>

Reply via email to