Author |
Message
|
j1 |
Posted: Mon Jul 30, 2012 9:36 am Post subject: write to a queue and then read from it in the same flow |
|
|
 Centurion
Joined: 23 Jun 2003 Posts: 139
|
Hi,
Im looking to write messages to an audit queue and then read them in for insertion to a db. want to use a queue in between as a bufer in case the db connection is down for some reason. what would be the best way to go about this. write to audit queue using MQOutputNode and wire and MQGET node to the out terminal of the MQOutputNode to the in terminal of the MQGET Node?
any better ideas? appreciate the feedback. thanks |
|
Back to top |
|
 |
mqjeff |
Posted: Mon Jul 30, 2012 9:40 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
You can't use an MQInput node "after" anything else.
It's an Input node, it has no "in" terminal.
You *should* use an MQInput node.
You *should* then spend some time reading, and thinking about whether or not this is actually still "The same" flow as the other one. |
|
Back to top |
|
 |
lancelotlinc |
Posted: Mon Jul 30, 2012 10:24 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
Be sure you turn off transaction mode, or your put of the message will never commit and thus your get of the message later in the flow will never get.
Have you attended the WMB developer's training class? Your ideas will be much more effective if you do. _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
j1 |
Posted: Mon Jul 30, 2012 10:43 am Post subject: |
|
|
 Centurion
Joined: 23 Jun 2003 Posts: 139
|
no funding for that mate you guys really should include it in the product purchase |
|
Back to top |
|
 |
Vitor |
Posted: Mon Jul 30, 2012 11:04 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
j1 wrote: |
you guys really should include it in the product purchase |
Do we look like we're an IBM website? Seriously?
Some of us work for IBM. None of us work out the purchase price or what's included in the package (or are allowed to talk about if).
Many of us do not work for IBM. This does not make us bad people. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
lancelotlinc |
Posted: Mon Jul 30, 2012 11:50 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
j1 wrote: |
no funding for that mate you guys really should include it in the product purchase |
You could always go back from whence you came, Java or Cobol. WMB is not a weekend-pick-me-up.
Invest in yourself. The cost to take the virtual class is reasonable, and you could make the big bucks if you knew what you were doing... _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
Vitor |
Posted: Mon Jul 30, 2012 11:53 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
lancelotlinc wrote: |
Invest in yourself. The cost to take the virtual class is reasonable |
"Reasonable" is subjective & from an entirely personal perspective I feel my wife would sooner see the "reasonable" cost of the virtual course "invested" in a number of domestic projects.
Having said all that, "don't you want to invest in me?" is a good retort when funding's refused by your employer  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
lancelotlinc |
Posted: Mon Jul 30, 2012 11:59 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
ZM663 self-paced virtual course is Public price AUD $2,800.00 ex GST or AUD $3,080.00 inc GST. USD $2,500. With the class and experience, you could easily double what your making currently if you were smart about marketing your skills. _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
Vitor |
Posted: Mon Jul 30, 2012 12:17 pm Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
lancelotlinc wrote: |
ZM663 self-paced virtual course is Public price AUD $2,800.00 ex GST or AUD $3,080.00 inc GST. USD $2,500. With the class and experience, you could easily double what your making currently if you were smart about marketing your skills. |
I accept unreservedly that it's a failing on my part that any discussion with my wife which involved a) admitting to having $2,500 of disposable income & b) planning to dispose of it on a virtual course rather than a new roof / dishwasher / female wardrobe would have one and only one outcome.
Like I said, "reasonable" is subjective. I once did exactly what you suggested & paid for my own training. Those days are lost in a fog of changed circumstances. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
lancelotlinc |
Posted: Mon Jul 30, 2012 12:29 pm Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
I feel a delightful exchange of ideas coming on this topic, while it seems to be off-topic of the current thread. If someone would care to start a thread in the General Discussion forum, we could continue this discourse.
What I see in the current WMB labor market, at least since I have been here (2003), is an unquenchable demand for qualified and experienced WMB developers and a separate and equal demand for WMB administrators.
j1 proves this point: employer buys WMB, hands it to an inexperienced lad albeit, a lad with great drive; j1 cannot grasp the basic concepts; posts on well-known WMB board repeatedly asking for help with basic concepts; and chooses not to read the InfoCentre, where are the information is, albeit in a somewhat innocuous form.
WMB is red-hot and the market is screaming for qualified people. I couldn't think of a better skill to have in today's market. All you need is nimbleness, skill, ability, smarts, agility, know how to look up InfoCentre references using Google, a willingness to relocate to where the work is, and good references. _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
j1 |
Posted: Mon Jul 30, 2012 12:31 pm Post subject: |
|
|
 Centurion
Joined: 23 Jun 2003 Posts: 139
|
didnt mean to imply anyone here is from IBM and the merit of investing 2500 of ones own money on a broker course is arguable. having said that, there might be a market for a lighter variant - like a CBT... |
|
Back to top |
|
 |
mqjeff |
Posted: Mon Jul 30, 2012 12:33 pm Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
I did end up taking a training class on Broker when I started.
Except, really, it wasn't Broker. It was WebSphere MQ Integrator 2.1.
There's a lot to be said for diligent effort spending a lot of time with the Information Center and a lot of time *reading* posts here, and a lot of time *trying* things.
Just as most employers refuse to admit a budget for training, most of the posters here refuse to admit the personal time to provide training. |
|
Back to top |
|
 |
lancelotlinc |
Posted: Mon Jul 30, 2012 12:38 pm Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
j1 wrote: |
didnt mean to imply anyone here is from IBM and the merit of investing 2500 of ones own money on a broker course is arguable. having said that, there might be a market for a lighter variant - like a CBT... |
ZM663 is the CBT. WM663 is USD $3,500. _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
Vitor |
Posted: Mon Jul 30, 2012 12:45 pm Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
mqjeff wrote: |
I did end up taking a training class on Broker when I started.
Except, really, it wasn't Broker. It was WebSphere MQ Integrator 2.1. |
I remember that course. I took it after I'd been using MQSI for a year...
mqjeff wrote: |
There's a lot to be said for diligent effort spending a lot of time with the Information Center and a lot of time *reading* posts here, and a lot of time *trying* things. |
It's also marginally easier to squeeze money for training out of an employer when you can demonstrate that it's just polishing what you know....
mqjeff wrote: |
Just as most employers refuse to admit a budget for training, most of the posters here refuse to admit the personal time to provide training. |
It does seem to have got worse again; the proportion of basic & easily answered questions is on the rise. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Vitor |
Posted: Mon Jul 30, 2012 12:48 pm Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
lancelotlinc wrote: |
employer buys WMB, hands it to an inexperienced lad albeit, a lad with great drive; lad cannot grasp the basic concepts; posts on well-known WMB board repeatedly asking for help with basic concepts; and chooses not to read the InfoCentre, where are the information is, albeit in a somewhat innocuous form. |
Or doesn't have time because of deadlines to read the InfoCentre (let's be charitable).
But it's the "employer buys WMB, hands it to inexperienced ...." that always annoys me. If you teach children to swim by throwing them in the deep end of a pool, everyone yells at you. The posters must carry some responsibilty for lack of read / experimentation / imagination, but where's the management support? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|