Author |
Message
|
Ross |
Posted: Tue Sep 20, 2005 12:11 pm Post subject: MQ Functionality Questions. |
|
|
Centurion
Joined: 15 Jun 2005 Posts: 127 Location: Ireland
|
I have been researching a bunch of questions for an application developer, but am having difficulty getting answers to the following, as my experience is on the infrastructure side...
1) Is there a way to put a message to a queue, and have it sent to many queues if required (Asynchronous Publish/Subscribe mode)?
2) Does MQ allow Transactional messaging (eg. 2 phase commit)?
3) Are there any restrictions on message content? Egs .xml, .pdf, delimited files.
4) Can message content be logged to persistent storage for auditing purposes? Other than making a message persistent.
Thanks,
Ross. |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Sep 20, 2005 12:30 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
1) Yes
2) Yes
3) No
4) Not "out of the box". But see #1 and #2. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
Nigelg |
Posted: Tue Sep 20, 2005 11:42 pm Post subject: |
|
|
Grand Master
Joined: 02 Aug 2004 Posts: 1046
|
Rather terse, jeff.
1. Yes, using the broker supplied with MQ5.3 CSD08 and later.
2. Msgs can be put/got in syncpoint. 2-phase commit is only applicable when WMQ is acting as a TM corrdinating a transaction with participant RMs, and yes it can do it then.
3. Yes.
4. Msg content is written to the persistent data logs when the msg is put, but only for recovery purposes, not auditing. _________________ MQSeries.net helps those who help themselves.. |
|
Back to top |
|
 |
Ross |
Posted: Wed Sep 21, 2005 2:15 am Post subject: |
|
|
Centurion
Joined: 15 Jun 2005 Posts: 127 Location: Ireland
|
Thanks for that info. I'll look into those areas more.
Jeff, you said no restrictions on message content, Nigel, you said there are restrictions.
Any more comments on this? |
|
Back to top |
|
 |
hopsala |
Posted: Wed Sep 21, 2005 2:16 am Post subject: |
|
|
 Guardian
Joined: 24 Sep 2004 Posts: 960
|
And my own list, to continue nigels response:
1. Or any other broker which supports MQ pub/sub - WBI for example. Also look into distribution lists.
2. Yup. MQ can either serve as an XA manager or connect to an external one (look up Global Transactions)
3. No. I don't know why nigelg said yes... Nigel?
4. Generally speaking, message content is logged for recovery purposes, you can look this up in the forums, it has been discussed many a time; You could use traces, though it shouldn't be used as an auditing device. The only OS you can do this easily in is z/OS - with SMF records 105/106 (if I remember correctly) which were designed specifically for MQ auditing and statistical data. |
|
Back to top |
|
 |
Nigelg |
Posted: Wed Sep 21, 2005 3:46 am Post subject: |
|
|
Grand Master
Joined: 02 Aug 2004 Posts: 1046
|
Sorry, my mistake, should have been No. _________________ MQSeries.net helps those who help themselves.. |
|
Back to top |
|
 |
Ross |
Posted: Wed Sep 21, 2005 5:50 am Post subject: |
|
|
Centurion
Joined: 15 Jun 2005 Posts: 127 Location: Ireland
|
Thanks for the information. |
|
Back to top |
|
 |
KeeferG |
Posted: Wed Sep 21, 2005 6:24 am Post subject: |
|
|
 Master
Joined: 15 Oct 2004 Posts: 215 Location: Basingstoke, UK
|
I haven't looked into what is provided but isn't there some audit capability added to MQ V6 _________________ Keith Guttridge
-----------------
Using MQ since 1995 |
|
Back to top |
|
 |
|