Author |
Message
|
jrsetters |
Posted: Thu Sep 20, 2012 9:04 am Post subject: Is the Collector node appropriate for this scenario? |
|
|
 Acolyte
Joined: 24 Aug 2011 Posts: 72 Location: Cincinnati, OH
|
I want to send a copy of an original message sent over TCPIP node to a catch queue if the TCPIP node responds with certain conditions. I can't think of another way to do this so I am looking at the collector node.
So basically:
Send the Original Message from an MQInput node to the TCPIPOut node and to the Collector.
If the TCPIPOut node indicates successful transaction, exit the flow normally.
If the TCPIPOut node indicates an error then trigger the original message copy from the Collector node to a MQOutput queue before exiting the flow.
The main thing here is I want to preserve an exact copy of the original message in a queue only when specific error conditions are encountered in the TCPIP node (which I can examine in a filter node). |
|
Back to top |
|
 |
lancelotlinc |
Posted: Thu Sep 20, 2012 9:06 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
Why not copy the original message structure to Environment and if an exception condition occurs, write that structure out to a queue? _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
wbi_telecom |
Posted: Thu Sep 20, 2012 9:08 am Post subject: |
|
|
 Disciple
Joined: 15 Feb 2006 Posts: 188 Location: Harrisburg, PA
|
I have never worked with TCPIPOutput node so this might not be valid but if you are going to know if about the failure in the same flow then why not store the original message in the Environment. If CPIPOutput returns a failure send the original message stored in Environment to MQOutput.
Cheers, |
|
Back to top |
|
 |
lancelotlinc |
Posted: Thu Sep 20, 2012 9:09 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
wbi_telecom wrote: |
why not store the original message in the Environment. |
lancelotlinc wrote: |
Why not copy the original message structure to Environment |
Jynx. _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Last edited by lancelotlinc on Thu Sep 20, 2012 9:13 am; edited 1 time in total |
|
Back to top |
|
 |
wbi_telecom |
Posted: Thu Sep 20, 2012 9:13 am Post subject: |
|
|
 Disciple
Joined: 15 Feb 2006 Posts: 188 Location: Harrisburg, PA
|
Short replies reach faster than verbose ones.
Cheers, |
|
Back to top |
|
 |
jrsetters |
Posted: Thu Sep 20, 2012 9:38 am Post subject: |
|
|
 Acolyte
Joined: 24 Aug 2011 Posts: 72 Location: Cincinnati, OH
|
The main reason would be that I don't know what I am doing. But I am now researching how to store and retrieve the message from the Environment. Thank you! |
|
Back to top |
|
 |
wbi_telecom |
Posted: Thu Sep 20, 2012 9:46 am Post subject: |
|
|
 Disciple
Joined: 15 Feb 2006 Posts: 188 Location: Harrisburg, PA
|
One thing you should make sure is to store the original message with the parser associated with it. I am sure you will find out more in your research.
Cheers, |
|
Back to top |
|
 |
lancelotlinc |
Posted: Thu Sep 20, 2012 9:46 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
|
Back to top |
|
 |
jrsetters |
Posted: Thu Sep 20, 2012 11:31 am Post subject: |
|
|
 Acolyte
Joined: 24 Aug 2011 Posts: 72 Location: Cincinnati, OH
|
At some point they are really going to need to send us to formal training. I have been able to figure out some cool solutions on my own, but I don't have the expertise to really optimize resource usage on our broker, so I worry a lot about possible hidden issues in my workflows. I think the thing that saves us is that we are really only dealing with 200,000 or so messages per day and not millions but have monster hardware. |
|
Back to top |
|
 |
smdavies99 |
Posted: Thu Sep 20, 2012 11:46 pm Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
jrsetters wrote: |
At some point they are really going to need to send us to formal training. I have been able to figure out some cool solutions on my own, but I don't have the expertise to really optimize resource usage on our broker, so I worry a lot about possible hidden issues in my workflows. I think the thing that saves us is that we are really only dealing with 200,000 or so messages per day and not millions but have monster hardware. |
By that time you will have taught yourself enough so that when you do attend the training it might well become clear that you know as much if not more than the trainer.
Remeber (and often overlooked by some posters here), the WM664 training is meant for total newbies.
Then you may well run into other problems such as the cource not being delivered in a location that your employers would even consider sending you to for training. They would consider it a 'jolly'. For example the W764 course is not delivered here in the UK. There is no chance in hell that many bosses would send their employees to Germany/Italy or god forbid the US to attend such a course.
I wish that some posters would consider this and other problems befire blindly suggesting the someone gets formal training when it is obvious that they are starting to figure out many things for themselves.
That is not to say that some posts here don't fully deserve the 'get some training' message. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
wbi_telecom |
Posted: Fri Sep 21, 2012 4:21 am Post subject: |
|
|
 Disciple
Joined: 15 Feb 2006 Posts: 188 Location: Harrisburg, PA
|
smdavies99, My sentiments exactly. Could not agree with you anymore. I always thought this forum is meant for helping people not telling people to get help.
Cheers, |
|
Back to top |
|
 |
lancelotlinc |
Posted: Fri Sep 21, 2012 5:26 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
smdavies99 wrote: |
jrsetters wrote: |
At some point they are really going to need to send us to formal training. I have been able to figure out some cool solutions on my own, but I don't have the expertise to really optimize resource usage on our broker, so I worry a lot about possible hidden issues in my workflows. I think the thing that saves us is that we are really only dealing with 200,000 or so messages per day and not millions but have monster hardware. |
By that time you will have taught yourself enough so that when you do attend the training it might well become clear that you know as much if not more than the trainer.
Remeber (and often overlooked by some posters here), the WM664 training is meant for total newbies. |
This is incorrect. The WM664 class has advanced principles within the curriculum. Throughout the course, extensive hands-on lab exercises allow students to practice the skills and concepts that are discussed in the lectures. This gives students a chance to ask questions about ways to perform some design or implementation. In addition, students learn to write efficient message flows by applying the concepts of message parsing, serialization, and message modeling. Many self-taught people overlook this concept.
smdavies99 wrote: |
Then you may well run into other problems such as the cource not being delivered in a location that your employers would even consider sending you to for training. They would consider it a 'jolly'. For example the W764 course is not delivered here in the UK. There is no chance in hell that many bosses would send their employees to Germany/Italy or god forbid the US to attend such a course.
I wish that some posters would consider this and other problems befire blindly suggesting the someone gets formal training when it is obvious that they are starting to figure out many things for themselves.
That is not to say that some posts here don't fully deserve the 'get some training' message. |
This is also incorrect. Both WM664 and WM674 are delivered worldwide at IBM training centers in each region. For those that choose not to travel, VM674 or ZM674 provide virtual accessibility. WM674 course is new, and may not have reached all centers yet. _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
lancelotlinc |
Posted: Fri Sep 21, 2012 5:29 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
wbi_telecom wrote: |
smdavies99, My sentiments exactly. Could not agree with you anymore. I always thought this forum is meant for helping people not telling people to get help.
Cheers, |
mqjeff wrote: |
This forum is not a training resource. |
People come here asking very basic questions that can easily be looked up in the InfoCentre. Some posters refuse to use Google to find answers to these basic questions.
If someone is not willing to use Google, has no coach or mentor, then attending training is the next option.
Some whiners say "but I don't have the money." Then go find a different vocation or employer that will send you. Invest in yourself. Take out a student loan. Join the Air Force or Marine Corp. They pay for WMB training. _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
Vitor |
Posted: Fri Sep 21, 2012 6:00 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
lancelotlinc wrote: |
People come here asking very basic questions that can easily be looked up in the InfoCentre. Some posters refuse to use Google to find answers to these basic questions. |
This is true.
lancelotlinc wrote: |
If someone is not willing to use Google, has no coach or mentor, then attending training is the next option. |
No, the next option is to point to the relevant part of the InfoCenter with some hints. As you correctly repost this forum is not a training resource but it is intended as a source of assistance not a place you can find the links to the training courses.
lancelotlinc wrote: |
Some whiners say "but I don't have the money." Then go find a different vocation or employer that will send you. Invest in yourself. Take out a student loan. Join the Air Force or Marine Corp. They pay for WMB training. |
All of these "whiners" are people and don't need to be judged by your Olympian standards. Suppose there's no other vocation or employer in the area and you don't want to uproot your family? Maybe you're too old for a student loan, have poor credit or just have too many existing debts to drop $2000 on a course? Maybe you don't fancy a term in the military just to get some software training.
I know it worked for you, but that doesn't mean it's right for everyone and we've had this conversation about your crusade before.
I also find the use of the term "whiners" something which will makes this the second of your posts to be discussed with the forum admin is recent weeks. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
bruce2359 |
Posted: Fri Sep 21, 2012 6:32 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
smdavies99 wrote: |
Then you may well run into other problems such as the cource not being delivered in a location that your employers would even consider sending you to for training. They would consider it a 'jolly'. For example the W764 course is not delivered here in the UK. There is no chance in hell that many bosses would send their employees to Germany/Italy or god forbid the US to attend such a course.
|
IBM Training Partners, like MuxDataSystems, offers most of IBMs curriculum both in-classroom and video-conference style. With video-conference, you get to attend from home or office - no travel. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
|