Author |
Message
|
snazz |
Posted: Fri Mar 18, 2011 4:39 am Post subject: EmailOutput Node : Attachment and exception in email body |
|
|
Newbie
Joined: 18 Mar 2011 Posts: 2
|
Tryin 2 send input msg as attachment.
Also exception list in the email body, is it psibl ?!
Ne pointers ??
TIA |
|
Back to top |
|
 |
lancelotlinc |
Posted: Fri Mar 18, 2011 4:45 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
|
Back to top |
|
 |
mqjeff |
Posted: Fri Mar 18, 2011 5:10 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
|
Back to top |
|
 |
lancelotlinc |
Posted: Fri Mar 18, 2011 5:21 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
Ooops, you right Jeff. I meant to send the Exception List tree link. Thanks for catching that one. Sometimes the link in the bar at the top does not match the content in the window on the InfoCenter website. _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
mqjeff |
Posted: Fri Mar 18, 2011 5:26 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
lancelotlinc wrote: |
Ooops, you right Jeff. I meant to send the Exception List tree link. Thanks for catching that one. Sometimes the link in the bar at the top does not match the content in the window on the InfoCenter website. |
That's true. I have had to learn to double-check this at all times... usually with right-click "Show only this frame" in Firefox. There's also the "Show in Table of contents" button in the top-right button bar of the InfoCenter, right next to the print button.
Although how you grabbed the v6.0 infocenter in the first place, I'm not sure.  |
|
Back to top |
|
 |
smdavies99 |
Posted: Fri Mar 18, 2011 6:47 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
I've put the original message and the exceptionlist into an email as attachments.
The issue comes when you want to preserve their original format etc. My solution was (on V6.0) to use the zip node support pack. This is no good on 6.1 or 7.0. So, since then I've used a JCN to zip up the items which can be added as attachments to the email.
I've created an HTML email with the main reason code (involves walking the exceptionList...) and other pertinent information in the Subject line.
It can be done but it is not an OOTB solution. _________________ 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 |
|
 |
mqjeff |
Posted: Fri Mar 18, 2011 6:57 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Depending on the box in question, using Monitoring Events could provide a relatively OOTB solution.
Particularly if something like Omegamon were involved. |
|
Back to top |
|
 |
smdavies99 |
Posted: Fri Mar 18, 2011 9:30 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
mqjeff wrote: |
Depending on the box in question, using Monitoring Events could provide a relatively OOTB solution.
Particularly if something like Omegamon were involved. |
The big downside of this is the fact that not all input/output nodes include the payload in the monitoring 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 |
|
 |
snazz |
Posted: Wed Mar 23, 2011 6:44 am Post subject: |
|
|
Newbie
Joined: 18 Mar 2011 Posts: 2
|
knw hw to get exception msg in email body : wil cnvrt d exception msg in 2 blob format in compute node before EmailOutput.
But ple guide me hw m gna parse exception list f faild xml and cnvrt it into msg
TIA
Snazz |
|
Back to top |
|
 |
smdavies99 |
Posted: Wed Mar 23, 2011 9:32 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
snazz wrote: |
knw hw to get exception msg in email body : wil cnvrt d exception msg in 2 blob format in compute node before EmailOutput.
But ple guide me hw m gna parse exception list f faild xml and cnvrt it into msg
TIA
Snazz |
Eh?
We don't talk this strange language here. This is not twitter. This is not an SMS/Text messaging system. _________________ 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 |
|
 |
mqjeff |
Posted: Wed Mar 23, 2011 9:37 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
As I said, ExceptionList is not serializable directly. You must copy it to a different tree that is. |
|
Back to top |
|
 |
|