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 » default values for promoted properties?

Post new topic  Reply to topic
 default values for promoted properties? « View previous topic :: View next topic » 
Author Message
jonny
PostPosted: Thu Oct 14, 2004 4:55 am    Post subject: default values for promoted properties? Reply with quote

Acolyte

Joined: 03 Jul 2003
Posts: 57

Can somone tell me how to set default values for promoted properties?

Thanks in advance
Back to top
View user's profile Send private message
RocknRambo
PostPosted: Thu Oct 14, 2004 6:26 am    Post subject: Reply with quote

Partisan

Joined: 24 Sep 2003
Posts: 355

Quote:
set default values for promoted properties?


can u pls elaborate ur question.??? u r talking something abt bar files ?



-RR
Back to top
View user's profile Send private message
kirani
PostPosted: Thu Oct 14, 2004 9:19 am    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

You can set the default value for promoted property within your message flow. If you don't override it's value when doing a deploy, it will use the default value set in your message flow.
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
jonny
PostPosted: Fri Oct 15, 2004 5:04 am    Post subject: Reply with quote

Acolyte

Joined: 03 Jul 2003
Posts: 57

Thanks Kiran for your reply.

Let me explain the flows that I have.

There is a subflow which has the following nodes:

Input --> a plugin node

The plugin node was written in java and has a number of properties, one of them is mandatory, and is called 'customer'. I promoted all properties by right-click the plugin node, and select promote property, when I saved the sub-flow, I see the following error message in the Tasks window:
"Promoted mandatory property "customer" does not have a default value assigned". I then removed customer from the promoted properties, and I didn't get any errors. Then by double-clicking on the plugin node in the subflow I specified a value for customer property, and then I promoted it, I then saved the sub-flow, but I still get the same error. I then added the subflow to a flow, and then within that flow I double-clicked on the subflow, and started filling all the fields (promoted properties) I saved the flow, but I still see the same error, so I thought lets deploy it, by using bar file, but adding the flow to the bar file failed with the following erro: "Failed to add file <message flow name> to archive file"

Thanks in advance
Back to top
View user's profile Send private message
kirani
PostPosted: Fri Oct 15, 2004 8:37 am    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

In that case you can assign default value to your mandatory property of your java plug-in node. Just goto .msgnode file and you see an option to set default value.
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

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 » default values for promoted properties?
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.