Hi, how are you getting a reference to myProcessor ?
On Mon, Jul 29, 2013 at 6:11 PM, jay <[email protected]> wrote: > Hi - I have a bean injected in my blueprint.xml file like below. > > <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xmlns:cm=" > http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0" > xmlns:camel="http://camel.apache.org/schema/blueprint" > xsi:schemaLocation=" > > http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0 > http://aries.apache.org/schemas/blueprint-cm/blueprint-cm-1.1.0.xsd > http://www.osgi.org/xmlns/blueprint/v1.0.0 > http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd > http://camel.apache.org/schema/blueprint > http://camel.apache.org/schema/blueprint/camel-blueprint.xsd"> > > > <bean id="myProcessor" class="com.xx.xx.processor.MyProcessor"> > <property name="transFlag" value="Y"/> > <property name="versionNumber" value="456"/> > <property name="batchNumber" value="789"/> > </bean> > > ----------------------------- > I have setters and getter in the class MyProcessor.java for the above > properties of the bean. > > When i call the get method to retrieve a value of property versionNumber - > null is getting printed. > > String version = getVersionNumber(); // It is printing null > > > Can some one please let me know your views please though it is simple one - > i am sure something wrong with Fuse ESB. > > > > > -- > View this message in context: > http://servicemix.396122.n5.nabble.com/Unable-to-get-the-properties-values-in-bean-tp5717442.html > Sent from the ServiceMix - User mailing list archive at Nabble.com. >
