The below is my property file when i give a node name it should retrive the property names like nodename,queuename etc..............

ComIbmComputeNode
Property Starts
property1 = NodeName
property2 = DataSource
property3 = Transaction
property4 = ComputeMode
property5 = TreatWarningsasErrors
property6 = ThrowExceptiononDatabaseError
property7= Validate
property8 = FailureAction
Property Ends


ComIbmMQOutputNode
Property Starts
property1 = NodeName
Property2 = QueueManagerName
property3 = QueueName
property4 = DestinationMode
property5 =TransactionMode
property6 = PersistenceMode
property7 = MessageContext
property8 = Validate
property9 = FailureAction
Property Ends


ComIbmMQInputNode
Property Starts
property1 = NodeName
Property2 = QueueName
property3 = MessageDomain
property4 = TransactionMode
property5 = OrderMode
property6 =  LogicalOrder
property7 =  Validate
property8 =  FailureAction
Property Ends


ComIbmFlowOrderNode
Property Starts
property1 = NodeName
Property Ends


ComIbmResetContentDescriptorNode
Property Starts
property1 = NodeName
Property2  = MessageDomain
property3  = ResetMessageDomain
property4  = Messageset
property5  = ResetMessageset
property6  = MessageType
property7  = ResetMessageType
property8  = MessageFormat
property9  = ResetMessageFormat
property10= Validate
property11= FailureAction
Property Ends


ComIbmFilterNode
Property Starts
property1 = NodeName
property2 = DataSource
property3 = Transaction
property4 = FilterExpression
property5 = TreatWarningsasErrors
property6 = ThrowExceptiononDatabaseError
Property Ends


ComIbmSendMailPlugin
Property Starts
property1 = NodeName
Property Ends


ComIbmTryCatchNode
Property Starts
property1 = NodeName
Property Ends

Recommended Answers

All 5 Replies

it's your homework, you solve it. If you have SPECIFIC questions about details. ask those, don't expect us to do your work for you.

it's your homework, you solve it. If you have SPECIFIC questions about details. ask those, don't expect us to do your work for you.

I didnt ask you to solve rather iam asking form suggestion to solve this..........

Without knowing what you want to do with later, it's impossible to decide what is the best approach.
However, my instinct is to create a PropertyNode class that has a List of properties (Strings?) as an instance variable. I would then read the whole file and create a map of fully-populated PropertyNodes (node name as key). Once I have that I can do anything I want with the data, easily.

Without knowing what you want to do with later, it's impossible to decide what is the best approach.
However, my instinct is to create a PropertyNode class that has a List of properties (Strings?) as an instance variable. I would then read the whole file and create a map of fully-populated PropertyNodes (node name as key). Once I have that I can do anything I want with the data, easily.

ya man thank you

I didnt ask you to solve rather iam asking form suggestion to solve this..........

your title: "This is my file please sove my problem" says otherwise.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.