ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Need help using emailoutput node

Post new topic  Reply to topic
 Need help using emailoutput node « View previous topic :: View next topic » 
Author Message
apple_guy
PostPosted: Thu Oct 06, 2011 8:08 am    Post subject: Need help using emailoutput node Reply with quote

Newbie

Joined: 06 Oct 2011
Posts: 3

Hello, I am new to message broker but I am familiar with it. I am stuck in a task I have received.

My aim is to gather data and email addresses from a database and send that specific data to that email address.

For this I’m using a ‘compute’ node to gather a list of email address and their names from a table. Then using their names as a parameter, gathering data from database using stored procedure. Then ‘propagating’ this data to an ‘XSL Transform’ node. From there I am sending it to another compute node where I am setting email parameters before sending it to emailoutput node. (looping this process for each emailaddress and name in the first table)

The problem is I am not able to find a way to send the email address from first compute node to the 2nd compute node as there is a XSL transformation in between. I am gathering the data from the stored procedure using dynamic result set and saving it in XMLNSC format before sending it to Transformation, my email address is in a variable. So how can I send this variable to second compute node along with its data from XML Transformation? Please recommend a solution.

If my query is not clear, then please say so. I will post my flow and code.
Thanks in advance.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Thu Oct 06, 2011 8:10 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

Store data in LocalEnvironment variables tree.

Have you taken the WM663 class? If not, why not?

This information is covered in that class.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Thu Oct 06, 2011 8:11 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

If you are familiar with Broker development, then it is common to use either Environment or LocalEnvironment to pass data between nodes.
Back to top
View user's profile Send private message
apple_guy
PostPosted: Thu Oct 06, 2011 8:44 am    Post subject: Reply with quote

Newbie

Joined: 06 Oct 2011
Posts: 3

Thanks for your replies.Appreciate any help.

If I use LocalEnvironment variables then wouldn't the value be overwritten with the next email address while the data to be mailed is still in process. I mean wouldn't wrong data be sent to a wrong email address.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu Oct 06, 2011 8:48 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

I don't see how you could code your flow to cause that.
Back to top
View user's profile Send private message
apple_guy
PostPosted: Thu Oct 06, 2011 8:52 am    Post subject: Reply with quote

Newbie

Joined: 06 Oct 2011
Posts: 3

Thanks, I will try it out.

@lancelotlinc No I haven't received any formal training. My seniors are guiding me until my training is scheduled.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Thu Oct 06, 2011 8:56 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

apple_guy wrote:
Thanks, I will try it out.

@lancelotlinc No I haven't received any formal training. My seniors are guiding me until my training is scheduled.


I would suggest you not develop any production flows until you have had the training. You are missing some crucial, basic information that will jeapordize a production environment.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Thu Oct 06, 2011 8:56 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Ask your seniors to explain how message flow nodes are processed.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Need help using emailoutput node
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.