|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Message flow and checking topic subscriptions |
« View previous topic :: View next topic » |
Author |
Message
|
marcin.kasinski |
Posted: Wed Dec 20, 2006 5:54 am Post subject: Message flow and checking topic subscriptions |
|
|
Sentinel
Joined: 21 Dec 2004 Posts: 850 Location: Poland / Warsaw
|
I would like in my message flow to check if anybody is subscribed to concrete topic.
I can use JAVA node and CMP API.
Do you know how I can do it in other way ?
Best Regards
Marcin |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Dec 20, 2006 6:10 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Why would you write a monitoring application inside a message flow?
If you are not writing a monitoring application, why do you want to know if someone is subscribed to a topic or not?
A publisher should never be written to know anything about subscribers. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
marcin.kasinski |
Posted: Wed Dec 20, 2006 7:07 am Post subject: |
|
|
Sentinel
Joined: 21 Dec 2004 Posts: 850 Location: Poland / Warsaw
|
jefflowrey wrote: |
Why would you write a monitoring application inside a message flow?
If you are not writing a monitoring application, why do you want to know if someone is subscribed to a topic or not?
A publisher should never be written to know anything about subscribers. |
It’s hard to answer why in few words.
We are planning to use publish-subscribe scenario in our company on broker without changing end applications.
We would like to create centralized database consist publisher-subscriber mapping and application to manage this mappings.
I would like to prepare some monitoring tool to check in our system test environment if every sent message has registered subscriber, broker behavior, monitoring performance, message content, etc.
Best Regards
Marcin |
|
Back to top |
|
 |
Vitor |
Posted: Wed Dec 20, 2006 7:29 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
marcin.kasinski wrote: |
It’s hard to answer why in few words.
|
"It seemed like a good idea at the board meeting"
There are other better, facilities available to check on subscription status, topics, etc. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Dec 20, 2006 7:51 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
You should probably
a) buy a monitoring tool, rather than trying to write one,
b) write a flow that subscribes to *everything* and logs all your messages to an audit database ,
c) not worry about whether a published message has any active subscribers but rather MONITOR THE SUBSCRIBERS. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|