Author |
Message
|
new_to_wmb8 |
Posted: Wed May 29, 2013 4:10 am Post subject: |
|
|
 Centurion
Joined: 28 May 2013 Posts: 127 Location: Hyderabad, India
|
Is it required to use Trace node here ?? |
|
Back to top |
|
 |
Tech1621 |
Posted: Wed May 29, 2013 4:18 am Post subject: |
|
|
Novice
Joined: 29 May 2013 Posts: 23
|
new_to_wmb8 wrote: |
Is it required to use Trace node here ?? |
No , as the name suggests.. it is used just to keep trace.
If u want , you can never use a trace node.. _________________ Anything is easy if you believe in yourself.. |
|
Back to top |
|
 |
mqjeff |
Posted: Wed May 29, 2013 4:25 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Tech1621 wrote: |
@new_to_wmb8 wrote:
if you are not creating a web service then
MQ input --> computeNode-->Soap Requet node is correct and regarding trace nodes, its just needed to keep a trace .. without them also it will work fine. |
It's not correct.
It's correct for some requirements, and not for others.
It's correct for some development plans built from some requirements, and not correct for other development plans built from the same requirements, nor for other development plans built from different requirements.
new_to_wmb8, you are the only one that can actually define "correct".
It's much easier to define "working" than it is to define "working correctly".
Read, think, try, repeat.
The road is ahead of you, don't expect other people to move your feet for you. |
|
Back to top |
|
 |
lancelotlinc |
Posted: Wed May 29, 2013 4:29 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
Tech1621 wrote: |
new_to_wmb8 wrote: |
Is it required to use Trace node here ?? |
No , as the name suggests.. it is used just to keep trace.
If u want , you can never use a trace node.. |
You seem to contradict the guidance given in the WMB training.
Trace nodes are used in DEV and TEST environments to help the developer understand the behavior of his/her flows. For example, "My message was read from the queue and just disappeared." In this instance, if the Trace node were connected to the Error and/or Catch terminals of the MQInput node, a reason would be given why the message was backed out or discarded.
The OP seems to be novice when it comes to implementing message flows. Novice users benefit the most from additional insight as to why their flows do not work, and therefore, novice users benefit the most from the use of Trace nodes given the fact that they sometimes neglect to take a user trace or rely too heavily on the interactive debugger.
http://publib.boulder.ibm.com/infocenter/wmbhelp/v8r0m0/index.jsp?topic=%2Fcom.ibm.etools.mft.doc%2Fac04840_.htm
Quote: |
Include a Trace node to help diagnose errors in your message flow. By tracing the contents of the message at various points in the flow, you can determine the sequence of processing. You can configure the Trace node to record the content of a message, and to check the action of a specific node on the message. For example, you can include a Trace node immediately after a Compute node to check that the output message has the expected format. |
Is it required to use Trace nodes? No. But its better to use Trace nodes and think about the design rather than ask Internet strangers how to write message flows. _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
vmcgloin |
Posted: Wed May 29, 2013 4:31 am Post subject: |
|
|
Knight
Joined: 04 Apr 2002 Posts: 560 Location: Scotland
|
new_to_wmb8 wrote: |
Is it required to use Trace node here ?? |
As you are clearly new to broker as well as to v8, you would be well advised just to put some of your training to use in trying out your proposed functionality rather than just writing it down.
You have a WSDL for the web service? Mock it.
You have your input message sitting on a queue.
Try connecting one to the other.
What are the exception handling standards in your organisation? Add that information.
etc. |
|
Back to top |
|
 |
new_to_wmb8 |
Posted: Wed May 29, 2013 4:31 am Post subject: |
|
|
 Centurion
Joined: 28 May 2013 Posts: 127 Location: Hyderabad, India
|
|
Back to top |
|
 |
lancelotlinc |
Posted: Wed May 29, 2013 4:33 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
Tech1621 wrote: |
@new_to_wmb8 wrote:
if you are not creating a web service then
MQ input --> computeNode-->Soap Requet node is correct and regarding trace nodes, its just needed to keep a trace .. without them also it will work fine. |
Without Trace nodes, the flow might work as programmed; but is the program correct? Trace nodes tell you if the logic is following the correct path. Unless you like driving blind, use Trace nodes. Trace nodes give you insight into the logic decisions the developer made when writing the code. _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
new_to_wmb8 |
Posted: Wed May 29, 2013 4:37 am Post subject: |
|
|
 Centurion
Joined: 28 May 2013 Posts: 127 Location: Hyderabad, India
|
OK i will add a trace node as well in flow to see the error that might come in flow.
@vmcgloin: i not very new to Message Broker, i had worked on V7 for some time. but i have never worked on webservice flows. i have run some flows from samples but none of them as per to my requirement. |
|
Back to top |
|
 |
Tech1621 |
Posted: Wed May 29, 2013 4:38 am Post subject: |
|
|
Novice
Joined: 29 May 2013 Posts: 23
|
lancelotlinc wrote: |
You seem to contradict the guidance given in the WMB training.
Trace nodes are used in DEV and TEST environments to help the..... |
Thank you for the suggestions..
Actually I was hoping that in new_to_wmb8 implementation he will be doing exception handling and error handling as it has to be taken care of and in those sub-flows he will obviously have trace nodes for reference.
Still thank you for reminding me the importance of trace nodes  _________________ Anything is easy if you believe in yourself.. |
|
Back to top |
|
 |
lancelotlinc |
Posted: Wed May 29, 2013 4:57 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
Your welcome. By the way, Trace nodes have nothing to do with error handling. Handling errors and writing logical message trees are two very different works.
@new_to_wmb8 : You want a unique Trace node attached to each terminal pointing to a unique destination. Have you taken the nine days of training yet? _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
new_to_wmb8 |
Posted: Wed May 29, 2013 5:06 am Post subject: |
|
|
 Centurion
Joined: 28 May 2013 Posts: 127 Location: Hyderabad, India
|
No i dnt gone to any training. |
|
Back to top |
|
 |
Vitor |
Posted: Wed May 29, 2013 5:12 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
new_to_wmb8 wrote: |
No i dnt gone to any training. |
This is going to make developing a little harder.
Do you moonlight as a car mechanic? If you're not trained in that you'll be as good at changing brake pads or fuel injectors as you are at developing in WMB....
You should push back on whoever gave you this task without getting you training. Or offer to fix his brakes. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
new_to_wmb8 |
Posted: Wed May 29, 2013 5:21 am Post subject: |
|
|
 Centurion
Joined: 28 May 2013 Posts: 127 Location: Hyderabad, India
|
Actually no training is provided here, the basic training had only for Basics of MB and MQ.
Could you provide any link/Site that provide sutaible training for the same. |
|
Back to top |
|
 |
lancelotlinc |
Posted: Wed May 29, 2013 5:42 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
|
Back to top |
|
 |
|