-
1. Re: Adding bean reference in FID 1.2.1
ckonda Aug 21, 2009 4:49 AM (in response to sivaram)Hi,
Can you check if your bean file has spring bean nature? If you have copy pasted or moved your spring bean file , it loses its spring nature. If so, you can try by adding your bean xml file Spring Bean nature by going to the Properties-> Spring->Beans Support->Config Files->Add (Add your spring bean file).
Or, if you attach your EIP project we can look into the issue.
Thanks,
Lavanya.
-
2. Re: Adding bean reference in FID 1.2.1
sivanaresh Aug 21, 2009 4:55 AM (in response to sivaram)Hi Sivaram,
Please see the attached image
Regards,
Siva Naresh.
-
SampleBean.GIF 44.9 KB
-
-
3. Re: Adding bean reference in FID 1.2.1
sivaram Aug 21, 2009 5:51 AM (in response to sivanaresh)Thanks Lavanya and Siva Naresh for the response.
I checked the file, it has spring nature. But still I'm not able to see the id's in the reference drop down.
Attached is the project.
Also, when I add a "Bean" processor and click on it, I get an error from the IDE. Error screenshot attached.
Edited by: sivaram on Aug 21, 2009 3:20 PM
-
FuseDemo.zip 5.3 KB
-
error.JPG 26.0 KB
-
-
4. Re: Adding bean reference in FID 1.2.1
spindipr Aug 21, 2009 6:24 AM (in response to sivaram)Hi sivaram,
I have imported the attached project into my workspace and I am able to view the reference "id1" in bean properties. (Attached the screen shot)
Can you provide the steps you followed for creating the project.
Thanks,
Sailaja.
-
Spring Bean Reference.JPG 119.4 KB
-
-
5. Re: Adding bean reference in FID 1.2.1
ckonda Aug 21, 2009 7:15 AM (in response to sivaram)Hi Sivaram,
There is a problem with identifying spring beans when the workspace and the project sources are not at the same location.
I think you have created a project, by not using the default location (Use default location option in the project creation wizard) and using an existing location than the workspace location. This is causing the issue. I am able to reproduce your problem by doing so. I logged a JIRA for this :
http://fusesource.com/issues/browse/UI-1562
Can you try creating the project in the workspace location or importing an existing one checking the "Copy projects into workspace" checkbox.
Thanks,
Lavanya.
-
6. Re: Adding bean reference in FID 1.2.1
sivaram Aug 21, 2009 7:32 AM (in response to ckonda)Thanks Lavanya. Creating a project in the default location has solved the issue.