Author |
Message
|
progruma |
Posted: Wed Dec 19, 2012 10:39 am Post subject: Monitoring subflow nodes & multiple Input nodes |
|
|
Novice
Joined: 19 Dec 2012 Posts: 11
|
Hi, I need your help with this
I'm facing issue with the following
I'm trying to enable monitoring on a node inside a subflow.
sample code look like:
main flow (MQ Input - compute - MQ Output - Subflow(In-MQ Output))
I get events successfully from the main flow (MQ Input node & MQ Output node).
But couldnt get any events from the subflow (MQ Output node).
However I have tried to add events to that node properties, with no luck, any idea ? |
|
Back to top |
|
 |
Vitor |
Posted: Wed Dec 19, 2012 11:34 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
What version of WMB?
How do you know the events are not being produced, as opposed to them not being collected by whatever you have collecting them? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
progruma |
Posted: Wed Dec 19, 2012 11:41 am Post subject: |
|
|
Novice
Joined: 19 Dec 2012 Posts: 11
|
broker 8.0.0.1
I have created a Topic and a Sub, and I have another flow that process these subscribed events
the question is: do the main flow events get produced on same target as subflow events ?
the topicstr i'm working on is : $SYS/Broker/MB8BROKER/Monitoring/default/#
Input and Output nodes on the main flow produce events to this topic, but not the subflow nodes |
|
Back to top |
|
 |
Vitor |
Posted: Wed Dec 19, 2012 11:55 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
progruma wrote: |
the question is: do the main flow events get produced on same target as subflow events ? |
Under version 7 yes, under v8 maybe it changes depending on how you arrange the applications, libraries and projects?
progruma wrote: |
the topicstr i'm working on is : $SYS/Broker/MB8BROKER/Monitoring/default/# |
Have you tried a more generic subscription? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
progruma |
Posted: Wed Dec 19, 2012 11:59 am Post subject: |
|
|
Novice
Joined: 19 Dec 2012 Posts: 11
|
I do get subscriptions on the execution group level, what could be more generic from subflow point of view ? |
|
Back to top |
|
 |
progruma |
Posted: Wed Dec 19, 2012 12:03 pm Post subject: |
|
|
Novice
Joined: 19 Dec 2012 Posts: 11
|
i was thinking maybe the Monitoring profile xml file should have full descriptice sourceAddress, so I have putted the subflowLable.nodeLable.terminal.in
but still that did not solve the problem
also tried to produce events from the node properties, but no luck
I must be doing something wrong or i miss something |
|
Back to top |
|
 |
Vitor |
Posted: Wed Dec 19, 2012 12:09 pm Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
progruma wrote: |
I do get subscriptions on the execution group level, what could be more generic from subflow point of view ? |
Maybe they're not being produced out of the execution group? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Vitor |
Posted: Wed Dec 19, 2012 12:11 pm Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
progruma wrote: |
I must be doing something wrong or i miss something |
It's going to be one of those, or it's a problem with the product. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
progruma |
Posted: Wed Dec 19, 2012 12:28 pm Post subject: |
|
|
Novice
Joined: 19 Dec 2012 Posts: 11
|
how do i test more generic sub ?
im stuck |
|
Back to top |
|
 |
Vitor |
Posted: Wed Dec 19, 2012 12:37 pm Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
progruma wrote: |
how do i test more generic sub ? |
Really? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
progruma |
Posted: Wed Dec 19, 2012 12:42 pm Post subject: |
|
|
Novice
Joined: 19 Dec 2012 Posts: 11
|
I'm serious, what should i do ?
what I did is, I have created the above topic and created a sub for that topic..
should I just create another sub on the broker level instead of getting the topicstr from the topic obj ? |
|
Back to top |
|
 |
progruma |
Posted: Wed Dec 19, 2012 12:57 pm Post subject: |
|
|
Novice
Joined: 19 Dec 2012 Posts: 11
|
okay, I took that as yes
I have created more generic topic and sub
$SYS/Broker/MB8BROKER/Monitoring/#
but still same issue |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Dec 19, 2012 2:03 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
If you are using monitoring profiles you need to be careful and verify that the monitoring will actually produce messages. If you are not careful and have an error in the monitoring profile, the monitoring capabilities are actually turned off on the message flow.  _________________ MQ & Broker admin |
|
Back to top |
|
 |
progruma |
Posted: Wed Dec 19, 2012 2:07 pm Post subject: |
|
|
Novice
Joined: 19 Dec 2012 Posts: 11
|
yes fjb
Im using monitoring profiles,
the thing is that monitoring actually produce messages for all nodes mentioned in the the xml file that is only on the main flow...
what I'm trying to do is to put the subflow node lable inside the monitoring profile (sourceAddress) and produce message from it, I have tried subflowLable.nodeLable.terminal.in and also nodeLable.terminal.in (like any other flow) but its doesnt work :S  |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Dec 19, 2012 10:57 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
progruma wrote: |
yes fjb
Im using monitoring profiles,
the thing is that monitoring actually produce messages for all nodes mentioned in the the xml file that is only on the main flow...
what I'm trying to do is to put the subflow node lable inside the monitoring profile (sourceAddress) and produce message from it, I have tried subflowLable.nodeLable.terminal.in and also nodeLable.terminal.in (like any other flow) but its doesnt work :S  |
You need to run one of the mqsi commands on monitoring with -r or -a flags. This will give you the name of the corresponding events for the flow/subflow.
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|