Hi all,
We've got a complex application that makes a lot of use of mailbox interprocess communication, there are many processes and differing messages.
My question are.... is there a way of seeing what messages & contents are in the mbx without actually reading them via a $QIO(W)? Perhaps there's a tool or example program that allows access to the data in an mbx via system services etc?
Thanks!
Gary
OpenVMS mailbox - logging
-
Topic author - Active Contributor
- Posts: 38
- Joined: Thu Nov 19, 2020 7:15 am
- Reputation: 0
- Location: Basingstoke, UK
- Status: Offline
- Contact:
-
- Master
- Posts: 200
- Joined: Fri Aug 14, 2020 11:31 am
- Reputation: 0
- Status: Offline
Re: OpenVMS mailbox - logging
Gary,
just checked - I did not receive any private message in the VSI forum.
You can use my mail address from my MBOX source change comment from 2005, it's still valid
Volker.
just checked - I did not receive any private message in the VSI forum.
You can use my mail address from my MBOX source change comment from 2005, it's still valid
Volker.
-
- Master
- Posts: 155
- Joined: Fri Jun 28, 2019 8:45 am
- Reputation: 0
- Location: South Tyneside, UK
- Status: Offline
- Contact:
Re: OpenVMS mailbox - logging
MBU is a program for looking at, creating and deleting mailboxes.
MBMON is for seeing what is being written to mailbox as it happens and is intended to aid debugging of applications which use mailboxes for interprocess communcations.
I wrote them many years ago and not looked at them for years. I've not built them on recent versions of VMS but could have a go if you tell me which version of VMS you are using.
MBMON is for seeing what is being written to mailbox as it happens and is intended to aid debugging of applications which use mailboxes for interprocess communcations.
I wrote them many years ago and not looked at them for years. I've not built them on recent versions of VMS but could have a go if you tell me which version of VMS you are using.
Ian Miller
[ personal opinion only. usual disclaimers apply. Do not taunt happy fun ball ].
[ personal opinion only. usual disclaimers apply. Do not taunt happy fun ball ].
-
- Master
- Posts: 369
- Joined: Fri Apr 17, 2020 7:31 pm
- Reputation: 0
- Location: Rhode Island, USA
- Status: Online
- Contact:
Re: OpenVMS mailbox - logging
VMS mailboxes are brilliant in the context where memory is counted in KB.
But if memory is counted in GB then it may not the optimal solution.
Switching to a standard message queue (VSI supports ActiveMQ) would make stuff like this easy.
writer-->MBX-->reader becomes writer-->MQ-->reader and are basically the same, but there are a lot extras.
Getting messages written and read logged is just something that is configured in the log configuration.
But if memory is counted in GB then it may not the optimal solution.
Switching to a standard message queue (VSI supports ActiveMQ) would make stuff like this easy.
writer-->MBX-->reader becomes writer-->MQ-->reader and are basically the same, but there are a lot extras.
Getting messages written and read logged is just something that is configured in the log configuration.