Bug 5748

Summary: #{jobProperties} property resolution unavailable within JSL partition
Product: jbatch Reporter: m_edgar
Component: RIAssignee: ScottKurz
Severity: major CC: issues
Priority: P5    
Version: 1   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard: RI_only

Description m_edgar 2014-01-28 17:49:09 UTC
Following up on the recent discussion on the public mailing list.

In PartitionPropertyResolverImpl, null values are sent to each child element's resolver rather than the parent properties which contain the job properties.

------ Scott Kurz example below:

So this would maybe net out to something like this example collector
property 'xx' not getting set up correctly.

<step id="step1">
    <property name="stepProp" value="stepPropValue" />
  <batchlet ...
      <property name="partitionString" value="#{partitionPlan['part']}" />
    <plan partitions="5">
      <properties partition="0">
        <property name="part" value="string 0" />
    <collector ref="PartitionIDCollector">
        <property name="xx" value="#{jobProperties['stepProp']" />