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 » To and Subject for sendmail node into bar file?

Post new topic  Reply to topic
 To and Subject for sendmail node into bar file? « View previous topic :: View next topic » 
Author Message
klabran
PostPosted: Thu Oct 20, 2005 3:37 pm    Post subject: To and Subject for sendmail node into bar file? Reply with quote

Master

Joined: 19 Feb 2004
Posts: 259
Location: Flagstaff AZ

Using WBIM 5.
How can I get the To and Subject for the sendmail node into the bar file?

The To and Subject have to be set in a compute node before sendmail is called.

Depending on the system deployed to the To and Subject are different.

Currently, I control this by coding two identical flows except for the code in the compute nodes that create the message for the sendmail node. I then deploy each flow to the correct system.

I was hoping to eliminate the need for two flows by using the bar file properties but I can't/don't know how to promote a property for this or of another technique that could easily accomplish this using the bar file.

Any help would be appreciated.

Kevin
Back to top
View user's profile Send private message Visit poster's website
EddieA
PostPosted: Thu Oct 20, 2005 3:56 pm    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

They are not Properties of the SendMail plugin, so can't be Promoted. They are part of the XML that is passed to the node.

If I remember correctly, someone said that V6 allows parts of the ESQL to be promoted, so that might work. Assuming that you can move to V6.

Store the values in a DB.

You could write a script that "unrolls" the bar, searches for a "constant" in the XML that is part of a SET statement, replace it, and then re-build the bar.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
wschutz
PostPosted: Thu Oct 20, 2005 4:00 pm    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

Quote:
meone said that V6 allows parts of the ESQL to be promoted
You can have user defined properties in V6 that you can set in the BAR file. The esql needs to change to use the defined properties (also available from javacompute nodes).

It looks like the source is included, so you could make To: and Subject: "properties" ....
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
klabran
PostPosted: Fri Oct 21, 2005 6:43 am    Post subject: Reply with quote

Master

Joined: 19 Feb 2004
Posts: 259
Location: Flagstaff AZ

V6 is pretty hot off the presses.....

Is it already running in production for many people???

Is V6 pretty close to V5 that putting it in won't cause me heartburn from a training aspect?
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » To and Subject for sendmail node into bar file?
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.